2
0
Simon Krajewski 5 жил өмнө
parent
commit
2f899dec24

+ 14 - 0
tests/unit/src/unit/issues/Issue9202.hx

@@ -0,0 +1,14 @@
+package unit.issues;
+
+class Issue9202 extends unit.Test {
+	public function test() {
+		var path = getDotPath();
+		eq("hi", path.first);
+	}
+
+	static function getDotPath() {
+		return {first: "hi"}
+	}
+}
+
+private typedef Separated<T> = {first:T}