Skip to content

Commit

Permalink
Make the test pass in LTS - int ops are not made infix in the LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Dec 5, 2024
1 parent 1dfafc9 commit 1b4a464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/run-macros/type-print.check
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ List[Int]
scala.collection.immutable.List[scala.Int]
scala.collection.immutable.List[scala.Int]
AppliedType(TypeRef(ThisType(TypeRef(NoPrefix(), "immutable")), "List"), List(TypeRef(TermRef(ThisType(TypeRef(NoPrefix(), "<root>")), "scala"), "Int")))
(3 + (a * b))
+[3, *[a, b]]
scala.compiletime.ops.int.+[3, scala.compiletime.ops.int.*[a, b]]
scala.compiletime.ops.int.+[3, scala.compiletime.ops.int.*[a, b]]
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")))))
((3 + a) * b)
*[+[3, a], b]
scala.compiletime.ops.int.*[scala.compiletime.ops.int.+[3, a], b]
scala.compiletime.ops.int.*[scala.compiletime.ops.int.+[3, a], b]
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 comments on commit 1b4a464

Please sign in to comment.