annotate graal/com.oracle.truffle.ruby.test/specs/tags/language/constants_tags.txt @ 13514:0fbee3eb71f0

Ruby: import project.
author Chris Seaton <chris.seaton@oracle.com>
date Mon, 06 Jan 2014 17:12:09 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13514
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
1 fails:Literal (A::X) constant resolution sends #const_missing to the original class or module scope
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
2 fails:Literal (A::X) constant resolution raises a TypeError if a non-class or non-module qualifier is given
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
3 fails:Literal (A::X) constant resolution with statically assigned constants does not search the singleton class of the class or module
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
4 fails:Literal (A::X) constant resolution with dynamically assigned constants does not search the singleton class of the class or module
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
5 fails:Literal (A::X) constant resolution with dynamically assigned constants evaluates the right hand side before evaluating a constant path
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
6 fails:Constant resolution within methods sends #const_missing to the original class or module scope
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
7 fails:Constant resolution within methods with statically assigned constants searches the lexical scope of the method not the receiver's immediate class
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
8 fails:Constant resolution within methods with statically assigned constants searches the lexical scope of a singleton method
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
9 fails:Constant resolution within methods with statically assigned constants searches Object as a lexical scope only if Object is explicitly opened
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
10 fails:Constant resolution within methods with dynamically assigned constants searches the immediate class or module scope first
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
11 fails:Constant resolution within methods with dynamically assigned constants searches the superclass before a module included in the superclass
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
12 fails:Constant resolution within methods with dynamically assigned constants searches the lexical scope of the method not the receiver's immediate class
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
13 fails:Constant resolution within methods with dynamically assigned constants searches the lexical scope of a singleton method
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
14 fails:Constant resolution within methods with dynamically assigned constants does not search the lexical scope of the caller
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
15 fails:Constant resolution within methods with dynamically assigned constants searches the lexical scope of a block
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
16 fails:Constant resolution within methods with dynamically assigned constants searches Object as a lexical scope only if Object is explicitly opened
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
17 fails:Constant resolution within methods with ||= assignes constant if previously undefined
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
18 fails:Module#private_constant marked constants remain private even when updated
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
19 fails:Module#private_constant marked constants in a module cannot be accessed from outside the module
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
20 fails:Module#private_constant marked constants in a module cannot be reopened as a module
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
21 fails:Module#private_constant marked constants in a module cannot be reopened as a class
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
22 fails:Module#private_constant marked constants in a module is not defined? with A::B form
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
23 fails:Module#private_constant marked constants in a module can be accessed from lexical scope
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
24 fails:Module#private_constant marked constants in a module is defined? from lexical scope
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
25 fails:Module#private_constant marked constants in a class cannot be accessed from outside the class
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
26 fails:Module#private_constant marked constants in a class cannot be reopened as a module
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
27 fails:Module#private_constant marked constants in a class cannot be reopened as a class
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
28 fails:Module#private_constant marked constants in a class is not defined? with A::B form
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
29 fails:Module#private_constant marked constants in a class can be accessed from lexical scope
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
30 fails:Module#private_constant marked constants in Object cannot be accessed using ::Const form
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
31 fails:Module#private_constant marked constants in Object is not defined? using ::Const form
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
32 fails:Module#public_constant marked constants in a module can be accessed from outside the module
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
33 fails:Module#public_constant marked constants in a module is defined? with A::B form
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
34 fails:Module#public_constant marked constants in a class can be accessed from outside the class
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
35 fails:Module#public_constant marked constants in a class is defined? with A::B form
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
36 fails:Module#public_constant marked constants in Object can be accessed using ::Const form
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
37 fails:Module#public_constant marked constants in Object is defined? using ::Const form
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
38 fails:Module#private_constant marked constants in a class is defined? from lexical scope
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
39 fails:Literal (A::X) constant resolution with statically assigned constants searches a module included in the superclass
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
40 fails:Constant resolution within methods with statically assigned constants searches a module included in the superclass
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
41 fails:Constant resolution within methods with statically assigned constants searches the superclass chain
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
42 fails:Literal (A::X) constant resolution with statically assigned constants searches Object if no class or module qualifier is given
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
43 fails:Literal (A::X) constant resolution with statically assigned constants searches Object after searching other scopes
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
44 fails:Constant resolution within methods with statically assigned constants searches the superclass chain
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
45 fails:Literal (A::X) constant resolution with statically assigned constants searches the superclass chain