Skip to content

Commit 3db968a

Browse files
committed
Make the test pass in LTS - int ops are not made infix in the LTS
1 parent 89183f9 commit 3db968a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-macros/type-print.check

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ List[Int]
22
scala.collection.immutable.List[scala.Int]
33
scala.collection.immutable.List[scala.Int]
44
AppliedType(TypeRef(ThisType(TypeRef(NoPrefix(), "immutable")), "List"), List(TypeRef(TermRef(ThisType(TypeRef(NoPrefix(), "<root>")), "scala"), "Int")))
5-
(3 + (a * b))
5+
+[3, *[a, b]]
66
scala.compiletime.ops.int.+[3, scala.compiletime.ops.int.*[a, b]]
77
scala.compiletime.ops.int.+[3, scala.compiletime.ops.int.*[a, b]]
88
AppliedType(TypeRef(TermRef(TermRef(TermRef(TermRef(ThisType(TypeRef(NoPrefix(), "<root>")), "scala"), "compiletime"), "ops"), "int"), "+"), List(ConstantType(IntConstant(3)), AppliedType(TypeRef(TermRef(TermRef(TermRef(TermRef(ThisType(TypeRef(NoPrefix(), "<root>")), "scala"), "compiletime"), "ops"), "int"), "*"), List(TermRef(NoPrefix(), "a"), TermRef(NoPrefix(), "b")))))
9-
((3 + a) * b)
9+
*[+[3, a], b]
1010
scala.compiletime.ops.int.*[scala.compiletime.ops.int.+[3, a], b]
1111
scala.compiletime.ops.int.*[scala.compiletime.ops.int.+[3, a], b]
1212
AppliedType(TypeRef(TermRef(TermRef(TermRef(TermRef(ThisType(TypeRef(NoPrefix(), "<root>")), "scala"), "compiletime"), "ops"), "int"), "*"), List(AppliedType(TypeRef(TermRef(TermRef(TermRef(TermRef(ThisType(TypeRef(NoPrefix(), "<root>")), "scala"), "compiletime"), "ops"), "int"), "+"), List(ConstantType(IntConstant(3)), TermRef(NoPrefix(), "a"))), TermRef(NoPrefix(), "b")))

0 commit comments

Comments
 (0)