Skip to content

Commit 94c97dd

Browse files
committed
Implement Haxe 5's Exception.stack setter (actually)
1 parent 5fa9789 commit 94c97dd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

std/cxx/_std/haxe/ds/IntMap.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class IntMap<T> implements haxe.Constraints.IMap<Int, T> {
8080

8181
#if haxe5
8282
public function size(): Int {
83-
m.size();
83+
return m.size();
8484
}
8585
#end
8686
}

std/cxx/_std/haxe/ds/ObjectMap.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class ObjectMap<K:{}, V> implements haxe.Constraints.IMap<K, V> {
8080

8181
#if haxe5
8282
public function size(): Int {
83-
m.size();
83+
return m.size();
8484
}
8585
#end
8686
}

std/cxx/_std/haxe/ds/StringMap.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class StringMap<T> implements haxe.Constraints.IMap<String, T> {
7676

7777
#if haxe5
7878
public function size(): Int {
79-
m.size();
79+
return m.size();
8080
}
8181
#end
8282
}

0 commit comments

Comments
 (0)