Table accesses with . not working
Issue #16
resolved
$t = { foo = "blah" };
Print($t.foo);
This part of a script does not work. You can neither use $t.foo
nor $t."foo"
nor any other table access that begins with $t.
.
The error message is the following.
<script file>:<line> : no viable alternative at input '$t.foo'
Comments (5)
-
-
On the other side, I found a kind of related bug. Pushing 1.2.1 in a few, try again after it updated.
-
- changed status to on hold
-
reporter It's working now. derp
-
reporter - changed status to resolved
- Log in to comment
I can't replicate this with MTS 1.2.0.
$t."foo"
isn't supposed to work in the first place, that would be$t["foo"]
.