summaryrefslogtreecommitdiff
path: root/src/ast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.rs')
-rw-r--r--src/ast.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast.rs b/src/ast.rs
index 3cc68c1..744397a 100644
--- a/src/ast.rs
+++ b/src/ast.rs
@@ -86,11 +86,11 @@ pub enum Expression {
#[derive(Debug)]
pub struct RecordField {
pub name: WithLocation<String>,
- pub ty: WithLocation<String>,
+ pub ty: WithLocation<Ty>,
}
impl RecordField {
- pub fn new(name: WithLocation<String>, ty: WithLocation<String>) -> RecordField {
+ pub fn new(name: WithLocation<String>, ty: WithLocation<Ty>) -> RecordField {
RecordField { name, ty }
}
}