diff options
author | Ryan Lahfa | 2024-04-17 14:30:27 +0200 |
---|---|---|
committer | Ryan Lahfa | 2024-04-17 14:30:27 +0200 |
commit | f0262bf843c8ef6ca2ad4d12ee6f82c8032e6857 (patch) | |
tree | 1a388b326b364145e6a05f814f10db7b84a91e1d /compiler | |
parent | 23da71768c03d955c916635bfc5c9d5806a80187 (diff) |
fix(backends/lean): `as` is a keyword
`as` is a reserved keyword and cannot be used as a variable name.
Fixes #139.
Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr>
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ExtractBase.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ExtractBase.ml b/compiler/ExtractBase.ml index 656d2f27..718325d2 100644 --- a/compiler/ExtractBase.ml +++ b/compiler/ExtractBase.ml @@ -915,6 +915,7 @@ let keywords () = ] | Lean -> [ + "as"; "by"; "class"; "decreasing_by"; |