Commit Graph

117 Commits

Author SHA1 Message Date
Andrey Breslav a327254187 Typechecker tests added 2011-03-01 21:08:19 +03:00
Andrey Breslav 7b7fe4dd60 Unresolved references highlighted in the editor. Resolve test added 2011-03-01 20:24:14 +03:00
Andrey Breslav 9b12696cb3 resolve methods renamed 2011-03-01 12:38:58 +03:00
Andrey Breslav 304644db1b Test for property resolve 2011-02-28 20:30:31 +03:00
Dmitry Jemerov 33bee035da Merge branch 'master' of git.labs.intellij.net:jet 2011-02-28 15:52:47 +03:00
Dmitry Jemerov 66089811ae resolve parameters, infer function return type from body expression 2011-02-28 15:52:32 +03:00
Andrey Breslav efdfbbf9bf TopDown resolve for Int.plus works. FunctionDescriptorUtil.getOriginal() added 2011-02-28 15:24:04 +03:00
Andrey Breslav a532b6db11 TopDown resolve for functions 2011-02-28 15:09:32 +03:00
Andrey Breslav 4e0b6deda5 TopDown analysis for method bodies 2011-02-28 14:34:03 +03:00
Andrey Breslav 248ed385d5 TopDown analysis for declarations 2011-02-28 13:57:47 +03:00
Dmitry Jemerov 8e6c2995d0 return 42 2011-02-25 19:14:11 +03:00
Andrey Breslav c779313bdb Test data for codegen 2011-02-25 17:13:26 +03:00
Andrey Breslav bfe22843ce Labels 2011-02-24 16:01:51 +03:00
Andrey Breslav fd3df74c1f Calls with closures parsed to a single node 2011-02-14 22:17:12 +03:00
Andrey Breslav cdb89fa403 Calls with closures parsed to a single node 2011-02-14 16:28:08 +03:00
Andrey Breslav ad61e57646 Predicate expression, a?b?.f() 2011-02-09 14:48:13 +03:00
Andrey Breslav 09b57d6ee1 .call() in when 2011-02-09 14:15:12 +03:00
Andrey Breslav 4818007291 New syntax fro patterns 2011-02-08 20:21:27 +03:00
Andrey Breslav 691c79c477 New syntax for patterns 2011-02-08 20:20:54 +03:00
Andrey Breslav ddcd4f63c9 This dummy test does not fail any more 2011-02-08 16:44:46 +03:00
Andrey Breslav 3bda886b64 Fixed a bug when parsing expressions like {val a = b;a} 2011-02-04 16:19:07 +03:00
Andrey Breslav 904a8b21a6 Types for function literals 2011-02-03 23:11:59 +03:00
Andrey Breslav 90eb9c443b Recovery for expressions. Bug with return inside if fixed 2011-01-27 20:01:38 +03:00
Andrey Breslav a60a512dc9 Out is a soft keyword now 2011-01-26 15:11:04 +03:00
Andrey Breslav ccfccc6645 "lazy" keyword dropped 2011-01-25 22:58:12 +03:00
Andrey Breslav 1206ed2f80 '*'-projections supported in syntax 2011-01-25 22:44:27 +03:00
Andrey Breslav 23fec0f24c Wrap user types into JetTypeElements + Support nullable types 2011-01-24 16:05:24 +03:00
Andrey Breslav 113a066e48 Working on the type checker 2011-01-20 19:28:36 +03:00
Andrey Breslav 04aa370fa6 Put type arguments next to the type reference (to make every type and application) 2011-01-18 18:46:28 +03:00
Andrey Breslav e40769f45b Initial stubs for Psi checker and tests for it 2011-01-14 22:43:44 +03:00
Andrey Breslav 52f985c9a4 Label entries in tuple literals 2011-01-14 22:05:07 +03:00
Andrey Breslav 8d83b866a4 Attributes on patterns tested 2011-01-14 21:40:59 +03:00
Andrey Breslav 55ca4e8a5a Allow type parameters right after fun, val, var 2011-01-14 21:24:46 +03:00
Andrey Breslav 6cb2747a76 Fix () to be a 0-ary tuple, not empty PARENTHESIZED 2011-01-14 21:14:10 +03:00
Andrey Breslav 97df7d9116 Disable newlines after 'is' etc in when 2011-01-14 20:39:22 +03:00
Andrey Breslav 052ed330de Match replaced with when 2011-01-14 20:18:37 +03:00
Andrey Breslav e94102a586 Match replaced with when 2011-01-14 20:16:20 +03:00
Andrey Breslav be73b6319e We decided to behave like C#: parse a type greedily after ':', 'as' and 'is' 2011-01-12 19:37:53 +03:00
Andrey Breslav fa060ffa33 Decomposers removed 2011-01-12 19:29:57 +03:00
Andrey Breslav 04f5db774a Lables: break and continue accept only string literals 2011-01-12 19:29:29 +03:00
Andrey Breslav 06a70a8a40 Lables: break and continue accept only string literals 2011-01-12 19:17:27 +03:00
Andrey Breslav 78b5f0f2b8 Default values for attributes 2011-01-12 19:09:04 +03:00
Andrey Breslav 20e17fd741 cosmetics 2011-01-12 19:08:22 +03:00
Andrey Breslav c1c7aa5202 cosmetics 2011-01-12 19:02:01 +03:00
Maxim Shafirov dfc03a5f30 User types are parsed hierarchically, i.e. (((java).lang).Object) instead of (java).(lang).(Object) 2011-01-11 18:02:02 +03:00
Maxim Shafirov caf7e80e5f Empty expression removed (wasn't brightest idea anyway). 2011-01-11 17:44:14 +03:00
Maxim Shafirov 7ac9173d14 Validate getters marked as nullable on parse error only return null if there's a parse error. 2011-01-11 02:57:10 +03:00
Maxim Shafirov 04fbaa26fe Special node for match expression (as its RHS is not an expression) 2011-01-11 00:32:59 +03:00
Maxim Shafirov 5779dc6885 Proper parsing for binary operations with type RHS. 2011-01-11 00:21:11 +03:00
Maxim Shafirov 6b2369da4e RECEIVER_TYPE is redundant (and inconsistent with function declaration) 2011-01-10 18:41:22 +03:00