Skip to content

Commit a452a73

Browse files
committed
Moved tests
1 parent 363d3b5 commit a452a73

File tree

109 files changed

+117
-168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+117
-168
lines changed

tests/init-global/neg/global-cycle1.scala

Lines changed: 0 additions & 12 deletions
This file was deleted.

tests/init-global/neg/global-cycle2.scala

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/init-global/neg/global-cycle3.scala

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/init-global/neg/global-irrelevance1.scala

Lines changed: 0 additions & 6 deletions
This file was deleted.

tests/init-global/neg/global-irrelevance2.scala

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/init-global/neg/global-irrelevance5.scala

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/init-global/neg/global-list.scala

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/init-global/neg/i11262.scala

Lines changed: 0 additions & 4 deletions
This file was deleted.

tests/init-global/neg/t9261.scala

Lines changed: 0 additions & 5 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
-- Warning: tests/init-global/neg/context-sensitivity.scala:9:21 -------------------------------------------------------
2-
9 | def foo(): Int = A.m
1+
-- Warning: tests/init-global/warn/context-sensitivity.scala:9:21 ------------------------------------------------------
2+
9 | def foo(): Int = A.m // warn
33
| ^^^
44
| Access uninitialized field value m. Calling trace:
55
| ├── object A: [ context-sensitivity.scala:14 ]
66
| │ ^
77
| ├── val m: Int = box1.value.foo() [ context-sensitivity.scala:17 ]
88
| │ ^^^^^^^^^^^^^^^^
9-
| └── def foo(): Int = A.m [ context-sensitivity.scala:9 ]
9+
| └── def foo(): Int = A.m // warn [ context-sensitivity.scala:9 ]
1010
| ^^^
11-
No warnings can be incurred under -Werror.

0 commit comments

Comments
 (0)