failing test for multiline function #6

Merged
probablycorey merged 4 commits from multiline-fn into main 2025-10-27 19:37:41 +00:00
Owner

Not sure what's going on here, but I started trying to write some functions in Shrimp and ran into this.

Evaluation threw an error:

  ╭───┨ Compiler Error ┃
  │
1 │ 
2 │ ······abc = do:
3 │ ········if false:
4 │ ··········echo nope
5 │ ········end
6 │ 
  │ 
  │ Unexpected syntax.
  │
  ╰───
Not sure what's going on here, but I started trying to write some functions in Shrimp and ran into this. ``` Evaluation threw an error: ╭───┨ Compiler Error ┃ │ 1 │ 2 │ ······abc = do: 3 │ ········if false: 4 │ ··········echo nope 5 │ ········end 6 │ │ │ Unexpected syntax. │ ╰─── ```
defunkt added 1 commit 2025-10-26 03:16:56 +00:00
defunkt changed title from failing test for multiline function to WIP: failing test for multiline function 2025-10-26 03:17:17 +00:00
probablycorey added 1 commit 2025-10-27 19:07:17 +00:00
probablycorey added 2 commits 2025-10-27 19:36:33 +00:00

It was the empty line in the function def. Should all work now

It was the empty line in the function def. Should all work now
probablycorey changed title from WIP: failing test for multiline function to failing test for multiline function 2025-10-27 19:37:37 +00:00
probablycorey merged commit cdcaf5c9d3 into main 2025-10-27 19:37:41 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: probablycorey/shrimp#6
No description provided.