Fix complex type intersection.
This commit is contained in:
@@ -193,12 +193,12 @@ class Types {
|
|||||||
case TPath(p): paths.push(p);
|
case TPath(p): paths.push(p);
|
||||||
case TAnonymous(f):
|
case TAnonymous(f):
|
||||||
|
|
||||||
for (f in fields) fields.push(f);
|
for (f in f) fields.push(f);
|
||||||
|
|
||||||
case TExtend(p, f):
|
case TExtend(p, f):
|
||||||
|
|
||||||
for (f in fields) fields.push(f);
|
for (f in f) fields.push(f);
|
||||||
for (p in paths) paths.push(p);
|
for (p in p) paths.push(p);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user