This website requires JavaScript.
Explore
Help
Sign In
anoma
/
juvix
Watch
1
Star
1
Fork
0
You've already forked juvix
mirror of
https://github.com/anoma/juvix.git
synced
2024-12-04 17:07:28 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
76af2124b2
juvix
/
tests
/
positive
/
issue2999.juvix
11 lines
102 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fix a bug that prevented use of name signature defined after the point (#3001) - Fixes #2999
2024-09-06 15:32:03 +03:00
module issue2999;
type T := t;
fun : T :=
namedFun@{
Allow trailing semicolons everywhere (#3123) * Closes #3039 * Closes #3043 * Closes #2970 * Closes #3089 * Parser allows trailing semicolons for any kind of semicolon-separated items: - let-block statements, - module statements, - record declaration statements, - record update fields, - record pattern fields, - named application arguments, - list literal items, - list pattern items, - open statement using/hiding items, - `syntax iterator` declaration parameters, - `syntax fixity` declaration parameters. * Formatter prints trailing semicolons if the items are displayed on separate lines, removes them if on a single line. * The formatting of multiline lists is changed to make it consistent with other semicolon-separated blocks: ``` [ 1; 2; 3; ] ``` instead of ``` [ 1 ; 2 ; 3 ] ```
2024-10-29 20:25:06 +03:00
x := t;
Fix a bug that prevented use of name signature defined after the point (#3001) - Fixes #2999
2024-09-06 15:32:03 +03:00
};
namedFun (x : T) : T := t;
Reference in New Issue
Copy Permalink