We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d2812a commit edcf023Copy full SHA for edcf023
tests/neg-macros/i9685bis.check
@@ -0,0 +1,4 @@
1
+-- [E008] Not Found Error: tests/neg-macros/i9685bis.scala:14:4 --------------------------------------------------------
2
+14 | 1.asdf // error
3
+ | ^^^^^^
4
+ | value asdf is not a member of Int
tests/neg-macros/i9685bis.scala
@@ -0,0 +1,12 @@
+package foo
+
+import scala.language.implicitConversions
5
+class Foo
6
7
+object Foo:
8
9
+ inline implicit def toFoo(x: Int): Foo = Foo()
10
11
+object Usage:
12
+ 1.asdf // error
0 commit comments