Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-3
-
Component/s: ast builder, parser
-
Labels:None
-
Number of attachments :
Description
support for sequences such as
sequence Foo
{ int x, String y, Bar b };
foo = new Foo(12, "hello", new Bar());
assert foo[0] == 12;
assert foo.x == 12;
foo.y = "hey";
they are kinda like simple classes where the data is stored as a tuple but they can have optional type restrictions and also possible named values.
Actually lets just use the class syntax for now...
class Foo {
String x
Address bar
}