diff options
author | Nadrieril | 2020-01-18 18:46:09 +0000 |
---|---|---|
committer | Nadrieril | 2020-01-18 18:54:42 +0000 |
commit | ec28905d32c23109da17696faefab284fde3e103 (patch) | |
tree | cd46bc2276e55c2cb89ddba6bb34a398f9ea2c56 /dhall/src/syntax | |
parent | b7d847cc812e6a7ce52354b15a9ed6b41ffeb3b4 (diff) |
Introduce intermediate representation that stores typed expr
Diffstat (limited to '')
-rw-r--r-- | dhall/src/syntax/ast/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/syntax/ast/expr.rs b/dhall/src/syntax/ast/expr.rs index 170cbe7..f22a279 100644 --- a/dhall/src/syntax/ast/expr.rs +++ b/dhall/src/syntax/ast/expr.rs @@ -23,7 +23,7 @@ pub enum Const { /// The `Label` field is the variable's name (i.e. \"`x`\"). /// The `Int` field is a DeBruijn index. /// See dhall-lang/standard/semantics.md for details -#[derive(Debug, Clone, PartialEq, Eq, Hash)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct V<Label>(pub Label, pub usize); // Definition order must match precedence order for |