Commit Graph

193 Commits

Author SHA1 Message Date
Andrey Breslav 0f63489f7c All tests pass 2011-05-16 20:48:51 +04:00
Andrey Breslav ba221419b4 JET-18 Resolve references to value parameters of the primary constructor to parameter or property descriptors according to the semantics 2011-05-04 14:12:36 +04:00
Andrey Breslav e46792a80e Fixed the typechecking for try..catch 2011-05-03 12:25:54 +04:00
Andrey Breslav d23a76b64d JET-6 Perform checks for primary and secondary constructors (In progress) 2011-04-26 17:00:07 +04:00
Andrey Breslav 43742828c4 Multiple declarations contributing to the same namespace are supported 2011-04-25 18:54:18 +04:00
Andrey Breslav 968e22f999 Working on constructors: references on 'this()' calls, etc. Many checks pending 2011-04-22 21:45:44 +04:00
Andrey Breslav d9997f3c25 Generic Java classes supported 2011-04-22 18:25:09 +04:00
Andrey Breslav 566f7cd6b5 Conventions for ++/-- support Unit-returning inc/dec functions 2011-04-07 19:51:02 +04:00
Andrey Breslav f99472e9dd Tests for return types
Transformation for Java boxed types
Lexer fixed for hexadecimal doubles
Longs detected from literals
compareTo with self defined for numbers (working around an unsupported case)
2011-04-07 17:39:40 +04:00
Andrey Breslav 73bfc57492 Nullability checks for infix operations 2011-03-28 18:17:57 +04:00
Andrey Breslav 3e2b41a225 Classifier lookup fixed 2011-03-25 22:56:27 +03:00
Andrey Breslav bec9f1e89a Types of selectors in DotQualifiedExpressions are recorded 2011-03-24 19:50:56 +03:00
Andrey Breslav b51653fe74 Primary constructor parameters supproted properly 2011-03-24 19:50:44 +03:00
Andrey Breslav a476377d35 new Out<in T>().produce() returns Any? 2011-03-23 17:06:45 +03:00
Andrey Breslav cd339fbb1b Property resolution 2011-03-23 16:04:36 +03:00
Andrey Breslav 3ba947da25 Projections prohibited in constructor type arguments 2011-03-23 13:41:06 +03:00
Andrey Breslav b5dce0d724 Substitutions for constructor are fixed 2011-03-23 12:45:57 +03:00
Andrey Breslav e6b0a64b14 Scope filtering according to type projections supported 2011-03-22 21:06:52 +03:00
Andrey Breslav 0340e9623c Constructors (all but Java) work, a draft version 2011-03-21 17:37:34 +03:00
Andrey Breslav 36513aabb9 'do..while' and assignments 2011-03-17 17:12:55 +03:00
Andrey Breslav 1c36c9be16 Resolve for 'for' and 'while', 'do..while' pending 2011-03-17 14:43:00 +03:00
Andrey Breslav fd7abde114 Unary + and - for numbers 2011-03-17 12:12:41 +03:00
Andrey Breslav 28e16cc214 Parenthesis are mandatory after a constructor call (due to problems with 'new Foo?isValid()') 2011-03-17 11:51:28 +03:00
Andrey Breslav 955faa350f PSI shape changed for calls like a.b() 2011-03-16 20:10:37 +03:00
Andrey Breslav 1792a71a5b IntRanges + fixes in tests 2011-03-15 22:21:55 +03:00
Andrey Breslav e414413112 Contains (in, !in) 2011-03-15 20:16:27 +03:00
Andrey Breslav 681d979a8d Equals 2011-03-15 19:43:11 +03:00
Andrey Breslav 764fbf005e Assignments 2011-03-15 18:36:37 +03:00
Andrey Breslav 469f02ef5a compareTo 2011-03-15 18:10:17 +03:00
Andrey Breslav 69f40ac81e Prefix, postfix and basic infix operations 2011-03-15 18:00:03 +03:00
Andrey Breslav 2e8b828ee0 Resolve for "!" 2011-03-15 17:17:09 +03:00
Andrey Breslav 36cd2f3a79 Complete resolve for array access expressions 2011-03-14 20:50:51 +03:00
Andrey Breslav 917dfd402e Basic overload resolution supported 2011-03-11 17:41:18 +03:00
Andrey Breslav 28a88faf61 Test for infix resolve 2011-03-11 13:05:51 +03:00
Andrey Breslav c1677055b0 Resolution in generic classes fixed 2011-03-10 17:13:19 +03:00
Andrey Breslav 4d574402ed namespace-level functions supported + tests for resolve to Java 2011-03-09 16:17:28 +03:00
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 304644db1b Test for property resolve 2011-02-28 20:30:31 +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