-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathClosure-118.log
196 lines (189 loc) · 11.9 KB
/
Closure-118.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
--- com.google.javascript.jscomp.DisambiguatePropertiesTest::testOneType4
junit.framework.ComparisonFailure: expected:<{[]}> but was:<{[a=[[Foo.prototype]]]}>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at com.google.javascript.jscomp.DisambiguatePropertiesTest.testSets(DisambiguatePropertiesTest.java:1372)
at com.google.javascript.jscomp.DisambiguatePropertiesTest.testOneType4(DisambiguatePropertiesTest.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:520)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1484)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:872)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1972)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute1(JUnitTask.java:824)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:2277)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
--- com.google.javascript.jscomp.DisambiguatePropertiesTest::testTwoTypes4
junit.framework.AssertionFailedError:
Expected: function Foo(){}Foo.prototype={a:0};var F=new Foo;F.a=0;function Bar(){}Bar.prototype={"a":0};var B=new Bar;B["a"]=0
Result: function Foo(){}Foo.prototype={Foo_prototype$a:0};var F=new Foo;F.Foo_prototype$a=0;function Bar(){}Bar.prototype={"Bar_prototype$a":0};var B=new Bar;B["a"]=0
Node tree inequality:
Tree1:
BLOCK [synthetic: 1]
SCRIPT 1 [synthetic: 1] [source_file: expected0] [input_id: InputId: expected0]
FUNCTION Foo 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
STRING prototype 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
STRING_KEY a 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME F 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME Foo 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME F 1 [source_file: expected0]
STRING a 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
FUNCTION Bar 1 [source_file: expected0]
NAME Bar 1 [source_file: expected0]
PARAM_LIST 1 [source_file: expected0]
BLOCK 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETPROP 1 [source_file: expected0]
NAME Bar 1 [source_file: expected0]
STRING prototype 1 [source_file: expected0]
OBJECTLIT 1 [source_file: expected0]
STRING_KEY a 1 [quoted: 1] [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
VAR 1 [source_file: expected0]
NAME B 1 [source_file: expected0]
NEW 1 [source_file: expected0]
NAME Bar 1 [source_file: expected0]
EXPR_RESULT 1 [source_file: expected0]
ASSIGN 1 [source_file: expected0]
GETELEM 1 [source_file: expected0]
NAME B 1 [source_file: expected0]
STRING a 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Tree2:
BLOCK [synthetic: 1] : global this
SCRIPT 1 [synthetic: 1] [source_file: testcode] [input_id: InputId: testcode]
FUNCTION Foo 1 [jsdoc_info: JSDocInfo] [source_file: testcode] : function (new:Foo): undefined
NAME Foo 1 [source_file: testcode] : function (new:Foo): undefined
PARAM_LIST 1 [source_file: testcode]
BLOCK 1 [source_file: testcode]
EXPR_RESULT 2 [source_file: testcode]
ASSIGN 2 [source_file: testcode] : Foo.prototype
GETPROP 2 [source_file: testcode] : Foo.prototype
NAME Foo 2 [source_file: testcode] : function (new:Foo): undefined
STRING prototype 2 [source_file: testcode] : string
OBJECTLIT 2 [source_file: testcode] : Foo.prototype
STRING_KEY Foo_prototype$a 2 [source_file: testcode] : number
NUMBER 0.0 2 [source_file: testcode] : number
VAR 3 [jsdoc_info: JSDocInfo] [source_file: testcode]
NAME F 3 [source_file: testcode] : Foo
NEW 3 [source_file: testcode] : Foo
NAME Foo 3 [source_file: testcode] : function (new:Foo): undefined
EXPR_RESULT 4 [source_file: testcode]
ASSIGN 4 [source_file: testcode] : number
GETPROP 4 [source_file: testcode] : number
NAME F 4 [source_file: testcode] : (Foo|null)
STRING Foo_prototype$a 4 [source_file: testcode] : string
NUMBER 0.0 4 [source_file: testcode] : number
FUNCTION Bar 4 [jsdoc_info: JSDocInfo] [source_file: testcode] : function (new:Bar): undefined
NAME Bar 4 [source_file: testcode] : function (new:Bar): undefined
PARAM_LIST 4 [source_file: testcode]
BLOCK 4 [source_file: testcode]
EXPR_RESULT 5 [source_file: testcode]
ASSIGN 5 [source_file: testcode] : Bar.prototype
GETPROP 5 [source_file: testcode] : Bar.prototype
NAME Bar 5 [source_file: testcode] : function (new:Bar): undefined
STRING prototype 5 [source_file: testcode] : string
OBJECTLIT 5 [source_file: testcode] : Bar.prototype
STRING_KEY Bar_prototype$a 5 [quoted: 1] [source_file: testcode] : number
NUMBER 0.0 5 [source_file: testcode] : number
VAR 6 [jsdoc_info: JSDocInfo] [source_file: testcode]
NAME B 6 [source_file: testcode] : Bar
NEW 6 [source_file: testcode] : Bar
NAME Bar 6 [source_file: testcode] : function (new:Bar): undefined
EXPR_RESULT 7 [source_file: testcode]
ASSIGN 7 [source_file: testcode] : number
GETELEM 7 [source_file: testcode] : ?
NAME B 7 [source_file: testcode] : (Bar|null)
STRING a 7 [source_file: testcode] : string
NUMBER 0.0 7 [source_file: testcode] : number
Subtree1: STRING_KEY a 1 [source_file: expected0]
NUMBER 0.0 1 [source_file: expected0]
Subtree2: STRING_KEY Foo_prototype$a 2 [source_file: testcode] : number
NUMBER 0.0 2 [source_file: testcode] : number
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.Assert.assertNull(Assert.java:277)
at junit.framework.TestCase.assertNull(TestCase.java:447)
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:957)
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:477)
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:403)
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:372)
at com.google.javascript.jscomp.CompilerTestCase.test(CompilerTestCase.java:360)
at com.google.javascript.jscomp.DisambiguatePropertiesTest.testSets(DisambiguatePropertiesTest.java:1371)
at com.google.javascript.jscomp.DisambiguatePropertiesTest.testTwoTypes4(DisambiguatePropertiesTest.java:258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:520)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1484)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:872)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1972)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute1(JUnitTask.java:824)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:2277)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)