ag: this zugriff
authorBernhard Urban <lewurm@gmail.com>
Wed, 31 Mar 2010 13:57:09 +0000 (15:57 +0200)
committerBernhard Urban <lewurm@gmail.com>
Wed, 31 Mar 2010 13:57:09 +0000 (15:57 +0200)
ag/lewurm_08.0 [new file with mode: 0644]

diff --git a/ag/lewurm_08.0 b/ag/lewurm_08.0
new file mode 100644 (file)
index 0000000..fc4bc42
--- /dev/null
@@ -0,0 +1,6 @@
+struct x y end;
+method f()
+       /* erlaubt, da 'x' als 'this.x' zu lesen ist */
+    var n := x;
+    return n;
+end;