diff options
Diffstat (limited to 'src/ast.rs')
-rw-r--r-- | src/ast.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -85,8 +85,8 @@ pub enum Expression { #[derive(Debug)] pub struct RecordField { - name: WithLocation<String>, - ty: WithLocation<String>, + pub name: WithLocation<String>, + pub ty: WithLocation<String>, } impl RecordField { @@ -98,7 +98,7 @@ impl RecordField { #[derive(Debug)] pub enum Ty { Name(String), - Array(Box<Ty>), + Array(Box<WithLocation<Ty>>), Record(Vec<WithLocation<RecordField>>), } |