]> Nishi Git Mirror - gwion.git/commitdiff
:art: Test member lambda
authorfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 10 Oct 2019 17:28:00 +0000 (19:28 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 10 Oct 2019 17:28:00 +0000 (19:28 +0200)
tests/tree/lambda_member.gw [new file with mode: 0644]

diff --git a/tests/tree/lambda_member.gw b/tests/tree/lambda_member.gw
new file mode 100644 (file)
index 0000000..3453b6b
--- /dev/null
@@ -0,0 +1,10 @@
+class C {
+  Event e;
+  spork {second => now; e.broadcast(); };
+  spork \{second => now; e.broadcast(); }();
+  #!2::second => now;
+  .2::second => now;
+  e => now;
+}
+
+C c;