Commit Graph

9 Commits

Author SHA1 Message Date
Andrey Breslav 94f00509e2 JET-34 Require a return statement in a function with a block body
JET-77 Require a return type annotation for non-Unit returning functions with block bodies
2011-06-17 18:03:30 +04:00
Andrey Breslav 8786c6a667 Type annotations required on functions 2011-06-15 21:21:33 +04:00
Andrey Breslav caad86e880 JET-40 Check that 'else' entry is the last one in the list of 'when' entries 2011-05-21 13:30:58 +04:00
Andrey Breslav a1e055af89 Decomposer patterns supported: any expression resolvable in the context of the matched one and returning a tuple is a decomposer 2011-05-20 22:24:13 +04:00
Andrey Breslav 5ad5a0e5e9 Type checking for basic patterns 2011-05-19 23:34:27 +04:00
Andrey Breslav 1c6dadb36a Support for wildcard patterns 2011-05-19 21:24:21 +04:00
Andrey Breslav 197c4a6fee Basic type patterns supported in when() expressions 2011-05-19 21:12:09 +04:00
Andrey Breslav cea7f85648 Fixed a bug in CF for when() expressions 2011-05-18 14:24:17 +04:00
Andrey Breslav 891aebf3bc Basic support for when() expressions 2011-05-17 22:33:39 +04:00