You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error log seems to suggest double vision of top-level definition:
--Error: examples/test_2.scala:3:11-------------------------------------------3| assert(isHello(strip("hello")))
|^| cannot merge
| method isHello of type (x: String@InlineParam):Boolean and
| method isHello of type (x: String@InlineParam):Boolean| they are both defined in package<empty>buthavematchingsignatures| (x: String@InlineParam):Boolean and
| (x: String@InlineParam):Boolean|asmembers of package<empty>|--Error: examples/test_2.scala:3:19-------------------------------------------3| assert(isHello(strip("hello")))
|^| cannot merge
| method strip of type (x: String@InlineParam):String and
| method strip of type (x: String@InlineParam):String| they are both defined in package<empty>buthavematchingsignatures| (x: String@InlineParam):String and
| (x: String@InlineParam):String|asmembers of package<empty>|--Error: examples/test_2.scala:4:12-------------------------------------------4| assert(!isHello(strip("bonjour")))
|^| cannot merge
| method isHello of type (x: String@InlineParam):Boolean and
| method isHello of type (x: String@InlineParam):Boolean| they are both defined in package<empty>buthavematchingsignatures| (x: String@InlineParam):Boolean and
| (x: String@InlineParam):Boolean|asmembers of package<empty>|--Error: examples/test_2.scala:4:20-------------------------------------------4| assert(!isHello(strip("bonjour")))
|^| cannot merge
| method strip of type (x: String@InlineParam):String and
| method strip of type (x: String@InlineParam):String| they are both defined in package<empty>buthavematchingsignatures| (x: String@InlineParam):String and
| (x: String@InlineParam):String|asmembers of package<empty>|
The text was updated successfully, but these errors were encountered:
The following code fails to compile:
The error log seems to suggest double vision of top-level definition:
The text was updated successfully, but these errors were encountered: