This commit is contained in:
Andreas Rumpf 2021-07-22 09:37:41 +02:00 • committed by GitHub
commit 58e27ebd4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 30 additions and 3 deletions

View file

@ -92,3 +92,16 @@ reject:
x[0] = c
x
{.push warning[AnyEnumConv]:on, warningAsError[AnyEnumConv]:on.}
reject:
# bug #12815
type
Foo = enum
one = 1
three = 3
var va = 2
var vb = va.Foo
{.pop.}