From 531fdb1757a97a3accc8e836a1ff3a3977c37bfe Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Mon, 6 Apr 2020 17:51:53 +0100 Subject: Factor out operations in typecheck --- dhall/src/syntax/ast/expr.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dhall/src/syntax') diff --git a/dhall/src/syntax/ast/expr.rs b/dhall/src/syntax/ast/expr.rs index 51426ce..51e9ea7 100644 --- a/dhall/src/syntax/ast/expr.rs +++ b/dhall/src/syntax/ast/expr.rs @@ -161,10 +161,10 @@ pub enum ExprKind { Num(NumKind), /// Built-in functions and types Builtin(Builtin), - /// `Some e` - SomeLit(SubExpr), /// `"Some ${interpolated} text"` TextLit(InterpolatedText), + /// `Some e` + SomeLit(SubExpr), /// `[] : t` EmptyListLit(SubExpr), /// `[x, y, z]` -- cgit v1.2.3