Skip to content

Commit

Permalink
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions spec/truffle/tags/language/file_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
windows:The __FILE__ pseudo-variable equals the absolute path of a file loaded by an absolute path
windows:The __FILE__ pseudo-variable equals the absolute path of a file loaded by a relative path
fails:The __FILE__ pseudo-variable equals the absolute path of a file loaded by a relative path
Original file line number Diff line number Diff line change
@@ -68,12 +68,6 @@ public boolean require(String path, String feature, RubyNode currentNode) throws
return true;
}

// Try as a path relative to the current directory

if (requireInPath(context.getRuntime().getCurrentDirectory(), feature, currentNode)) {
return true;
}

// Try each load path in turn

for (Object pathObject : context.getCoreLibrary().getLoadPath().slowToArray()) {

0 comments on commit f70ef66

Please sign in to comment.