Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1307,10 +1307,9 @@ public NameNode(RubyContext context, SourceSection sourceSection) {
super(context, sourceSection);
}

@TruffleBoundary
@Specialization
public Object name(DynamicObject module) {
CompilerDirectives.transferToInterpreter();

if (!Layouts.MODULE.getFields(module).hasPartialName()) {
return nil();
}

0 comments on commit f2683ee

Please sign in to comment.