Commit Graph

7083 Commits

Author SHA1 Message Date
Dmitry Jemerov b74bdb9cfd refactored conditional jump generation to enable and/or generation 2011-04-08 19:52:55 +02:00
Andrey Breslav f338f84813 Diagnostics for impossible/useless casts 2011-04-08 16:10:27 +04:00
Andrey Breslav 85f0c03708 Safe casts supported 2011-04-08 15:52:13 +04:00
Andrey Breslav 566f7cd6b5 Conventions for ++/-- support Unit-returning inc/dec functions 2011-04-07 19:51:02 +04:00
Andrey Breslav 53e4c863e7 More tests for return types 2011-04-07 18:09:29 +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 30d8349272 Typechecker logic fixed for one-branch ifs and 'return x' for Unit-returning functions 2011-04-07 14:43:25 +04:00
Dmitry Jemerov e61e908ab7 failing test 2011-04-07 12:14:25 +02:00
Dmitry Jemerov 6cbe151ba8 test for continue; minus works 2011-04-07 11:45:35 +02:00
Andrey Breslav acb433fd2b Codegen tests fixed 2011-04-07 12:42:20 +04:00
Andrey Breslav b621f58a83 Some tests for return types 2011-04-05 16:16:23 +04:00
Andrey Breslav 83e0018b06 Return values collected from CF data 2011-04-05 16:07:25 +04:00
Andrey Breslav 5c0764f1ce CF/DF for '+=' 2011-04-05 11:54:28 +04:00
Andrey Breslav 69a39907e2 Tests fixed 2011-04-04 21:26:52 +04:00
Andrey Breslav fee824bd78 Tests for basic control flow structures 2011-04-04 21:11:15 +04:00
Andrey Breslav 1fc134072c Test framework for instructions 2011-04-04 18:40:39 +04:00
Dmitry Jemerov 74daf3dd79 non-working break 2011-04-01 18:56:42 +02:00
Dmitry Jemerov 230c6efe99 working while, non-working do/while 2011-04-01 18:56:42 +02:00
Dmitry Jemerov fb5175dbe8 generate comparisons and conditional jumps 2011-04-01 14:10:20 +02:00
Andrey Breslav 76dc0376e5 Tests for qualified 'this', 'break' and 'continue' 2011-04-01 15:57:59 +04:00
Dmitry Jemerov dd3f2b3afb add mock JDK to Jet repo 2011-04-01 13:43:43 +02:00
Andrey Breslav f8a5c25714 Fix for the code to compile 2011-04-01 12:52:50 +04:00
Andrey Breslav eb7db21cab Some CF generated for closures 2011-03-31 23:34:09 +04:00
Andrey Breslav ad7115ce20 Qualified 'this' for classes 2011-03-28 22:45:16 +04:00
Andrey Breslav 73bfc57492 Nullability checks for infix operations 2011-03-28 18:17:57 +04:00
Dmitry Jemerov 739fce330c work in progress on codegen rewrite (no boxing for primitive types) 2011-03-28 14:14:41 +02:00
Dmitry Jemerov d05066f8f5 generate plus 2011-03-28 14:11:19 +02:00
Andrey Breslav 3e2b41a225 Classifier lookup fixed 2011-03-25 22:56:27 +03:00
Andrey Breslav badf79aee5 Closure parameters for constructor invocations 2011-03-25 16:07:07 +03:00
Andrey Breslav 071f96c1aa Type in node name fixed 2011-03-24 21:07:59 +03:00
Dmitry Jemerov af4c777197 hello world can be compiled 2011-03-24 18:00:05 +01:00
Dmitry Jemerov 58912bad3e generate static field accesses 2011-03-24 18:00:05 +01:00
Dmitry Jemerov ecf10d4c35 Merge branch 'master' of git.labs.intellij.net:jet 2011-03-24 18:00:04 +01: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
Dmitry Jemerov b346c16c83 type mapper refactored; more stuff works for function calls 2011-03-24 15:49:16 +01:00
Dmitry Jemerov 802f6e1c7d function call generation works in some trivial cases 2011-03-24 15:18:29 +01: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 6fb8ed823c Letter-ending number literals removed (10L, 1.0d, 1.0f) 2011-03-16 15:22:49 +03:00
Andrey Breslav 1792a71a5b IntRanges + fixes in tests 2011-03-15 22:21:55 +03:00