-
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.
- Loading branch information
Showing
4 changed files
with
70 additions
and
34 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,60 +1,66 @@ | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:26:6 ----------------------------------------------------------- | ||
26 | def t = 27 // error | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:29:6 ----------------------------------------------------------- | ||
29 | def t = 27 // error | ||
| ^ | ||
| Suspicious extension t is already a member of T | ||
| | ||
| longer explanation available when compiling with `-explain` | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:28:6 ----------------------------------------------------------- | ||
28 | def g(x: String)(i: Int): String = x*i // error | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:31:6 ----------------------------------------------------------- | ||
31 | def g(x: String)(i: Int): String = x*i // error | ||
| ^ | ||
| Suspicious extension g is already a member of T | ||
| | ||
| longer explanation available when compiling with `-explain` | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:29:6 ----------------------------------------------------------- | ||
29 | def h(x: String): String = x // error | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:32:6 ----------------------------------------------------------- | ||
32 | def h(x: String): String = x // error | ||
| ^ | ||
| Suspicious extension h is already a member of T | ||
| | ||
| longer explanation available when compiling with `-explain` | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:31:6 ----------------------------------------------------------- | ||
31 | def j(x: Any, y: Int): String = (x.toString)*y // error | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:34:6 ----------------------------------------------------------- | ||
34 | def j(x: Any, y: Int): String = (x.toString)*y // error | ||
| ^ | ||
| Suspicious extension j is already a member of T | ||
| | ||
| longer explanation available when compiling with `-explain` | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:32:6 ----------------------------------------------------------- | ||
32 | def k(x: String): String = x // error | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:35:6 ----------------------------------------------------------- | ||
35 | def k(x: String): String = x // error | ||
| ^ | ||
| Suspicious extension k is already a member of T | ||
| | ||
| longer explanation available when compiling with `-explain` | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:33:6 ----------------------------------------------------------- | ||
33 | def l(using String): String = summon[String] // error: can't be called implicitly | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:36:6 ----------------------------------------------------------- | ||
36 | def l(using String): String = summon[String] // error: can't be called implicitly | ||
| ^ | ||
| Suspicious extension l is already a member of T | ||
| | ||
| longer explanation available when compiling with `-explain` | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:34:6 ----------------------------------------------------------- | ||
34 | def m(using String): String = "m" + summon[String] // error | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:37:6 ----------------------------------------------------------- | ||
37 | def m(using String): String = "m" + summon[String] // error | ||
| ^ | ||
| Suspicious extension m is already a member of T | ||
| | ||
| longer explanation available when compiling with `-explain` | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:35:6 ----------------------------------------------------------- | ||
35 | def n(using String): String = "n" + summon[String] // error | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:38:6 ----------------------------------------------------------- | ||
38 | def n(using String): String = "n" + summon[String] // error | ||
| ^ | ||
| Suspicious extension n is already a member of T | ||
| | ||
| longer explanation available when compiling with `-explain` | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:36:6 ----------------------------------------------------------- | ||
36 | def o: String = "42" // error | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:39:6 ----------------------------------------------------------- | ||
39 | def o: String = "42" // error | ||
| ^ | ||
| Suspicious extension o is already a member of T | ||
| | ||
| longer explanation available when compiling with `-explain` | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:37:6 ----------------------------------------------------------- | ||
37 | def u: Int = 27 // error | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:40:6 ----------------------------------------------------------- | ||
40 | def u: Int = 27 // error | ||
| ^ | ||
| Suspicious extension u is already a member of T | ||
| | ||
| longer explanation available when compiling with `-explain` | ||
-- [E193] Potential Issue Error: tests/neg/i16743.scala:43:6 ----------------------------------------------------------- | ||
43 | def at: Int = 42 // error | ||
| ^ | ||
| Suspicious extension at is already a member of T | ||
| | ||
| longer explanation available when compiling with `-explain` |
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