FIX. cast(a, B).<complete>
Merge pull request #133 from SlavaRa/ASGenerator-haxe-improvements

FIX. Haxe. cast(a, B).<complete>