Browse Source

[lua] new dead code elimination and string tests

Justin Donaldson 8 years ago
parent
commit
194cf1657f

+ 0 - 0
tests/misc/luaDeadCode/issue6276/Issue6276.hx → tests/misc/luaDeadCode/stringReflection/StringReflection.hx


+ 0 - 0
tests/misc/luaDeadCode/issue6276/compile.hxml → tests/misc/luaDeadCode/stringReflection/compile.hxml


+ 8 - 0
tests/unit/src/unit/issues/Issue6259.hx

@@ -0,0 +1,8 @@
+package unit.issues;
+class Issue6259 extends Test{
+	function test(){
+		function f(a) return a.b;
+		var res = f({b: (s) -> s.length})("6259");
+		eq(res,4);
+	}
+}