Skip to content

Commit

Permalink
[Truffle] Pass a few @@var specs with a single annotation fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Dec 7, 2014
1 parent baf5473 commit 3c50e8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public Object classEval(VirtualFrame frame, RubyModule self, Object[] args, Ruby

}

@CoreMethod(names = "class_variable_defined?")
@CoreMethod(names = "class_variable_defined?", required = 1)
public abstract static class ClassVariableDefinedNode extends CoreMethodNode {

public ClassVariableDefinedNode(RubyContext context, SourceSection sourceSection) {
Expand Down
5 changes: 0 additions & 5 deletions spec/truffle/tags/language/class_variable_tags.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
fails:A class variable defined in a module can be accessed from classes that extend the module
fails:A class variable defined in a module is not defined in these classes
fails:A class variable defined in a module is only updated in the module a method defined in the module is used
fails:A class variable defined in a module is updated in the class when a Method defined in the class is used
fails:A class variable defined in a module can be accessed from modules that extend the module
fails:A class variable defined in a module is defined in the extended module
fails:A class variable defined in a module is not defined in the extending module
fails:A class variable defined in a module can be accessed inside the class using the module methods

0 comments on commit 3c50e8d

Please sign in to comment.