@@ -9,6 +9,7 @@
Bugfixes:
all : fixed compiler hanging on `switch` for abstracts with implicit casts involving type parameters and constraints (#10082)
+ all : fixed inlining of `haxe.DynamicAccess.keyValueIterator` (#10118)
cpp : fixed handling of `cpp.ConstCharStar` with analyzer enabled (#9733)
2021-02-09 4.2.0:
@@ -48,6 +48,6 @@ class DynamicAccessKeyValueIterator<T> {
**/
public inline function next():{key:String, value:T} {
var key = keys[index++];
- return {value: access[key], key: key};
+ return {value: (access[key] : T), key: key};
}