Open haxiomic opened 5 years ago
To work around in the short term, this fails:
var arrayBuffers = [new ArrayBuffer()];
var x: Array<BlobPart> = arrayBuffers;
but this works:
var x: Array<BlobPart> = [new ArrayBuffer()];
Is it possible to have this for 4.0? People are having issues with their codebases like #7593.
Hey, I've started working on it this evening – it's quite a big change because there's a lot of typedefs in the webidls, all these are currently inlined into EtherTypes so we could end up lots of new files if they're now converted to abstracts
However I can't see a problem with merging the quick-fix PR for @SlavaRa 's issue in the short term
If a type union has nested
EitherType
s then we can have unification issues, for example (from @SlavaRa's PR #7593)To fix we can create an abstract for each type union that merges all
EitherType
s: