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 2f71763 commit 17e579fCopy full SHA for 17e579f
tests/run-with-compiler/i3823-c.check
@@ -1,4 +1,7 @@
1
{
2
- val z: Int = 2
3
- ()
+ type T = Int
+ {
4
+ val z: T = 2
5
+ ()
6
+ }
7
}
tests/run-with-compiler/i3823-c.scala
@@ -5,8 +5,7 @@ object Test {
def f[T](x: Expr[T])(implicit t: Type[T]) = '{
val z = ~x
8
- // FIXME uncomment next line
9
- // println(f('(2))(Type.IntTag).show)
10
- println("{\n val z: Int = 2\n ()\n}") // TODO remove line
+ println(f('(2))(Type.IntTag).show)
11
12
-}
+}
+
0 commit comments