-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8622 from dotty-staging/fix-#8617
Fix #8617: Check that there is no inheritance/definition shadowing
- Loading branch information
Showing
26 changed files
with
206 additions
and
64 deletions.
There are no files selected for viewing
Submodule scala-xml
updated
2 files
+2 −2 | jvm/src/test/scala/scala/xml/XMLTest.scala | |
+2 −2 | shared/src/main/scala/scala/xml/parsing/MarkupParser.scala |
Submodule scalacheck
updated
1 files
+64 −61 | src/main/scala/org/scalacheck/ScalaCheckFramework.scala |
Submodule scalatest
updated
5 files
Submodule stdLib213
updated
3 files
+1 −1 | src/library/scala/collection/Map.scala | |
+14 −14 | src/library/scala/collection/immutable/BitSet.scala | |
+1 −1 | src/library/scala/collection/mutable/PriorityQueue.scala |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
-- [E049] Reference Error: tests/neg/ambiref.scala:8:14 ---------------------------------------------------------------- | ||
8 | println(x) // error | ||
| ^ | ||
| Reference to x is ambiguous, | ||
| it is both defined in object Test | ||
| and inherited subsequently in class D | ||
|
||
longer explanation available when compiling with `-explain` | ||
-- [E049] Reference Error: tests/neg/ambiref.scala:10:14 --------------------------------------------------------------- | ||
10 | println(x) // error | ||
| ^ | ||
| Reference to x is ambiguous, | ||
| it is both defined in object Test | ||
| and inherited subsequently in anonymous class test1.C {...} | ||
|
||
longer explanation available when compiling with `-explain` | ||
-- [E049] Reference Error: tests/neg/ambiref.scala:17:14 --------------------------------------------------------------- | ||
17 | println(y) // error | ||
| ^ | ||
| Reference to y is ambiguous, | ||
| it is both defined in method c | ||
| and inherited subsequently in anonymous class D {...} | ||
|
||
longer explanation available when compiling with `-explain` | ||
-- [E049] Reference Error: tests/neg/ambiref.scala:25:16 --------------------------------------------------------------- | ||
25 | println(y) // error | ||
| ^ | ||
| Reference to y is ambiguous, | ||
| it is both defined in method c | ||
| and inherited subsequently in class E | ||
|
||
longer explanation available when compiling with `-explain` |
Oops, something went wrong.