Skip to content

Commit 0451f35

Browse files
Add test for typeCheckErrors
1 parent c63360a commit 0451f35

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Error(Not found: abc, 1 + abc
2+
,16,Typer)
3+
Error(Not found: abc, 1 + abc
4+
,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)