diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-03-03 17:49:23 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-03-04 12:43:17 -0800 |
| commit | e2fa6f03f5b3195b2f81e259a6b946567440b576 (patch) | |
| tree | ed57e10c040505678b037902964f6d543d2cd52f /src/rt/rust_stack.cpp | |
| parent | 1d826b735c30a89bfe3aac8acbcda4efc8b5286f (diff) | |
| download | rust-e2fa6f03f5b3195b2f81e259a6b946567440b576.tar.gz rust-e2fa6f03f5b3195b2f81e259a6b946567440b576.zip | |
Translate simple classes
Programs using classes with fields only (no methods) compile and run,
as long as nothing refers to a class in a different crate (todo).
Also changed the AST representation of classes to have a separate
record for constructor info (instead of inlining the fields in the
item_class node), and fixed up spans and pretty-printing for
classes.
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions
