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
[info] Compiling 1 Scala source to C:\Users\rapha\IdeaProjects\ScalaLint\out\main\compile\dest\classes ...
[error] -- [E007] Type Mismatch Error: C:\Users\rapha\IdeaProjects\ScalaLint\main\src\io\github\iltotore\scalalint\Main.scala:19:10
[error] 19 | dummy(0)
[error] | ^
[error] | Found: (0 : Int)
[error] | Required: String
[error] one error found
Using zero but calling the conversion method explicitly: OK
[info] Compiling 1 Scala source to C:\Users\rapha\IdeaProjects\ScalaLint\out\main\compile\dest\classes ...
[error] -- Error: C:\Users\rapha\IdeaProjects\ScalaLint\main\src\io\github\iltotore\scalalint\Main.scala:19:20
[error] 19 | dummy(int2String(0))
[error] | ^^^^^^^^^^^^^
[error] | test
[error] | This location contains code that was inlined from Main.scala:19
[error] | This location contains code that was inlined from test.scala:9
This is the expected message
Expectation
The compiler should show the test error message like in the third case (Using zero but calling the method explicitly)
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Compiler version
3.0.0-M3
Minimized code
Main.scala
test.scala
Output
Using a non-null Int: OK
The code compiles and works as expected
Using zero: dummy(0)
Using zero but calling the conversion method explicitly: OK
This is the expected message
Expectation
The compiler should show the
test
error message like in the third case (Using zero but calling the method explicitly)The text was updated successfully, but these errors were encountered: