Skip to content

Commit 0611948

Browse files
committed
Add more test
1 parent deaf44d commit 0611948

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
object Test:
2+
3+
println((3: Boolean | Int).isInstanceOf[Boolean])
4+
5+
println(3.isInstanceOf[Boolean]) // error

0 commit comments

Comments
 (0)