Explorar o código

Update StringMap.hx (#10889)

Daniel Rodríguez Rivero %!s(int64=2) %!d(string=hai) anos
pai
achega
71b05d02e8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/lua/_std/haxe/ds/StringMap.hx

+ 1 - 1
std/lua/_std/haxe/ds/StringMap.hx

@@ -46,7 +46,7 @@ class StringMap<T> implements haxe.Constraints.IMap<String, T> {
 		untyped {
 			var ret = h[key];
 			if (ret == tnull) {
-				ret = null;
+				return null;
 			}
 			return ret;
 		}