Skip to content

Compilation failure when function arity is not respected

Given the following JsLIGO function:

let f = ([a,b]:[int]) : int => 1;

Then compiling this fragment raises the following error:

Invalid record field "1" in record "gen#247".

Compiler version:

2022-05-03T18:50:38+00:00
9faa2515601bbb03a1122531083562e4c8b45d12
Commit
Commit
Date:
Rolling
SHA:
release
Edited by Didier Plaindoux