Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions truffle/src/main/java/org/jruby/truffle/core/SymbolNodes.java
Original file line number Diff line number Diff line change
@@ -19,6 +19,8 @@
import com.oracle.truffle.api.frame.VirtualFrame;
import com.oracle.truffle.api.object.DynamicObject;
import com.oracle.truffle.api.source.SourceSection;

import org.jruby.runtime.ArgumentDescriptor;
import org.jruby.truffle.nodes.RubyRootNode;
import org.jruby.truffle.language.arguments.CheckArityNode;
import org.jruby.truffle.language.control.SequenceNode;
@@ -137,8 +139,8 @@ protected DynamicObject createProc(VirtualFrame frame, DynamicObject symbol) {
.getCallNode().getEncapsulatingSourceSection();

final SharedMethodInfo sharedMethodInfo = new SharedMethodInfo(
sourceSection, null, Arity.NO_ARGUMENTS, Layouts.SYMBOL.getString(symbol),
true, null, false, false, false);
sourceSection, null, Arity.AT_LEAST_ONE, Layouts.SYMBOL.getString(symbol),
true, ArgumentDescriptor.ANON_REST, false, false, false);

final RubyRootNode rootNode = new RubyRootNode(
getContext(), sourceSection,

0 comments on commit c62594e

Please sign in to comment.