Skip to content

Commit d027f6a

Browse files
committed
Blacklist notNull as from Tasty test
There seems to be a missing simplification when compiling from Tasty. Here is the error message: ``` *** error while checking out/posTestFromTasty/pos/notNull/Test.class after phase readTasty *** java.lang.AssertionError: assertion failed: Types differ Original type : (x: Int): Int After checking: (x: (Int | Null) & NotNull): (Int | Null) & NotNull Original tree : identity[(Int | Null) & NotNull] After checking: identity[(Int | Null) & NotNull] ```
1 parent b73589a commit d027f6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/test/dotc/pos-from-tasty.blacklist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ i7087.scala
1212

1313
# Nullability
1414
nullable.scala
15+
notNull.scala

0 commit comments

Comments
 (0)