Browse Source

[jvm] add test

closes #9202
Simon Krajewski 5 years ago
parent
commit
2f899dec24
1 changed files with 14 additions and 0 deletions
  1. 14 0
      tests/unit/src/unit/issues/Issue9202.hx

+ 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}