浏览代码

[jvm] add test

closes #9202
Simon Krajewski 5 年之前
父节点
当前提交
2f899dec24
共有 1 个文件被更改,包括 14 次插入0 次删除
  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}