disallow '.' as mapsTo token (only ↦ now)
Intention is to reuse the '.' token as namespace delimiter and '::' to be used as return type prefix instead
This commit is contained in:
parent
312e97193a
commit
b336f2f847
3 changed files with 26 additions and 27 deletions
src
|
@ -309,7 +309,7 @@ where
|
|||
tokens.next();
|
||||
|
||||
let mut variable_bindings = parse_binding_expr(typectx, tokens)?;
|
||||
let _ = parse_expect(tokens, LTIRToken::LambdaBody);
|
||||
let _ = parse_expect(tokens, LTIRToken::MapsTo);
|
||||
let body = parse_expr(typectx, tokens)?;
|
||||
|
||||
return Ok(LTExpr::Abstraction {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue