Skip to content

Commit 8ec96f8

Browse files
Add test for typeCheckErrors
1 parent 17fa485 commit 8ec96f8

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Error(Not found: abc, 1 + abc,16,Typer)
2+
Error(Not found: abc, 1 + abc,16,Typer)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@main def Test =
2+
scala.compiletime.testing.typeCheckErrors("""
3+
4+
5+
6+
1 + abc
7+
8+
9+
10+
""").foreach(println)

0 commit comments

Comments
 (0)