aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/ast.rs
diff options
context:
space:
mode:
authorLindsey Kuper <[email protected]>2011-05-13 11:00:26 -0700
committerGraydon Hoare <[email protected]>2011-05-13 17:35:13 -0700
commit814b17352c5b5267e29f73a6ddf93f97030ac62c (patch)
tree128555c6e8bc6c13c19a576aa76a064ac51a9aff /src/comp/front/ast.rs
parentMore work toward anonymous objects. (diff)
downloadrust-814b17352c5b5267e29f73a6ddf93f97030ac62c.tar.xz
rust-814b17352c5b5267e29f73a6ddf93f97030ac62c.zip
Use new module namespace syntax.
Diffstat (limited to 'src/comp/front/ast.rs')
-rw-r--r--src/comp/front/ast.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs
index eda09276..d795d6c2 100644
--- a/src/comp/front/ast.rs
+++ b/src/comp/front/ast.rs
@@ -374,10 +374,10 @@ type _obj = rec(vec[obj_field] fields,
type anon_obj = rec(
// New fields and methods, if they exist.
- Option.t[vec[obj_field]] fields,
+ option::t[vec[obj_field]] fields,
vec[@method] methods,
// with_obj: the original object being extended, if it exists.
- Option.t[ident] with_obj);
+ option::t[ident] with_obj);
type _mod = rec(vec[@view_item] view_items,
vec[@item] items);