This is a temporary fix that will be reworked in a follow up commit
that aims to eliminate the tfExplicit flag from the compiler. The
complete and proper fix was considered too risky for inclusion just
before our 0.19 release.
This commit is contained in:
zah 2018-08-21 23:14:12 +03:00 • committed by Andreas Rumpf
commit 96de224a63
5 changed files with 20 additions and 2 deletions

View file

@ -40,3 +40,7 @@ static:
assert y isnot tuple
assert z isnot seq
# XXX: These cases don't work properly at the moment:
# assert type[int] isnot int
# assert type(int) isnot int