Commit Graph

15 Commits

Author SHA1 Message Date
svtk becd713111 KT-234 Force when() expressions to have an 'else' branch
KT-973 Unreachable code
2012-01-18 13:31:42 +04:00
Andrey Breslav 3808bff1ce GreatSyntacticShift: Checker test data fixed 2011-12-21 11:24:04 +02:00
Nikolay Krasko 0c758902ef KT-621 Remove .foo() pattern matching from when (Some tests were rewritten) 2011-11-25 17:39:16 +04:00
Dmitry Jemerov a3f8a088be JetPsiCheckerTest and its testdata moved back to plugin tests 2011-10-27 18:44:39 +02:00
Dmitry Jemerov ec6dec0d37 separate compiler and plugin tests 2011-10-20 16:21:18 +02:00
Andrey Breslav 8816bb4a47 Substitutions fixed for projections 2011-10-13 17:48:28 +04:00
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