Fix complex type intersection.

This commit is contained in:
Juraj Kirchheim
2018-09-03 18:49:08 +02:00
parent 682aeacce8
commit b68c6ac4a1

View File

@@ -193,12 +193,12 @@ class Types {
case TPath(p): paths.push(p);
case TAnonymous(f):
for (f in fields) fields.push(f);
for (f in f) fields.push(f);
case TExtend(p, f):
for (f in fields) fields.push(f);
for (p in paths) paths.push(p);
for (f in f) fields.push(f);
for (p in p) paths.push(p);
default: