We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue by ohad Wednesday Nov 06, 2019 at 08:29 GMT Originally opened as edwinb/Idris2-boot#150
Might be related to #113 .
$ cat Bar.idr X : Nat X = let a : Nat a = 0 in a $ idris2 -c Bar.idr
1/1: Building Bar2 (Bar.idr) $
Bar.idr:4:9--4:9:Parse error: Couldn't parse declaration (next tokens: [in, identifier a, end of input])
If we dis-indent the in keyword, it parses fine:
in
$ cat Bar2.idr X : Nat X = let a : Nat a = 0 in a $ idris2 -c Bar2.idr 1/1: Building Bar2 (Bar2.idr) $
The text was updated successfully, but these errors were encountered:
Merge pull request idris-lang#31 from diakopter/patch-1
aa446d5
add talk video link
I think this issue can be closed now as it typechecks now:
% cat Issue31.idr module Issue31 X : Nat X = let a : Nat a = 0 in a % idris2 Issue31.idr ____ __ _ ___ / _/___/ /____(_)____ |__ \ / // __ / ___/ / ___/ __/ / Version 0.3.0-da92f9d67 _/ // /_/ / / / (__ ) / __/ https://www.idris-lang.org /___/\__,_/_/ /_/____/ /____/ Type :? for help Welcome to Idris 2. Enjoy yourself! 1/1: Building Issue31 (Issue31.idr) Issue31> :t X Issue31.X : Nat Issue31> X 0
Sorry, something went wrong.
f600182
No branches or pull requests
Issue by ohad
Wednesday Nov 06, 2019 at 08:29 GMT
Originally opened as edwinb/Idris2-boot#150
Might be related to #113 .
Steps to Reproduce
Expected Behavior
Observed Behavior
If we dis-indent the
in
keyword, it parses fine:The text was updated successfully, but these errors were encountered: