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

@ -506,6 +506,7 @@ type
tfGenericTypeParam
tfImplicitTypeParam
tfInferrableStatic
tfConceptMatchedTypeSym
tfExplicit # for typedescs, marks types explicitly prefixed with the
# `type` operator (e.g. type int)
tfWildcard # consider a proc like foo[T, I](x: Type[T, I])