Andrey Breslav
fba0e8bc60
Namespace lookup error reporting fixed
2011-04-18 13:43:52 +04:00
Andrey Breslav
9b0a9b71a2
isStatement() fixed for returned expressions
2011-04-15 21:40:07 +04:00
Andrey Breslav
319a250349
Sophisticated conventions for 'for'-loop ranges
2011-04-15 21:23:01 +04:00
Andrey Breslav
b94579a4ba
Assignments to qualified expressions are supported in CF
2011-04-15 19:16:31 +04:00
Andrey Breslav
fad3030e37
Fix for 'null is Nothing' false-positive
2011-04-15 19:09:22 +04:00
Andrey Breslav
3678b343b6
Temporary fix for duplicate key in constructor resolution
2011-04-15 18:54:25 +04:00
Dmitry Jemerov
4987b8460c
failing test for 'for ... in' on array
2011-04-15 13:48:06 +02:00
Dmitry Jemerov
f61fda2be2
add GridBagConstraints
2011-04-15 13:05:39 +02:00
Dmitry Jemerov
47f883d493
primitive type tests extracted
2011-04-15 12:49:55 +02:00
Dmitry Jemerov
e76a227837
non-working test for class codegen
2011-04-15 12:40:02 +02:00
Dmitry Jemerov
c9072a1817
non-working test for 'for'
2011-04-15 12:16:44 +02:00
Dmitry Jemerov
20520e991f
generate calls to functions in a Jet namespace
2011-04-14 20:10:40 +02:00
Andrey Breslav
e9f9236303
'+=' etc for ArrayAccess
2011-04-14 21:31:31 +04:00
Andrey Breslav
6e2fd76f53
ArrayAccess supported in CF
2011-04-14 21:13:49 +04:00
Andrey Breslav
e2fbc5f792
Test for fail() function
2011-04-14 20:40:04 +04:00
Andrey Breslav
c2f8ea6893
CF for throw
2011-04-14 20:26:54 +04:00
Andrey Breslav
5963e952da
Loops are followed by read(Unit) in order to prevent the CFA from thinking that the condition is returned
2011-04-14 19:53:32 +04:00
Andrey Breslav
cf7991378a
Unreachable code with Nothing-returning functions
2011-04-14 19:23:49 +04:00
Dmitry Jemerov
4d92f75133
failing test (infers boolean return type for some reason)
2011-04-14 17:02:32 +02:00
Andrey Breslav
652c11aa07
Some fixes for try...finally
2011-04-14 16:54:08 +04:00
Andrey Breslav
6e9e22df16
Try..finally supported by CF-builder
2011-04-14 15:45:39 +04:00
Andrey Breslav
bd73ef4bd9
More tests for dead code detection
2011-04-14 13:18:31 +04:00
Andrey Breslav
96526603e4
Basic tests for dead code detection
2011-04-13 17:48:51 +04:00
Andrey Breslav
69ef281d47
Fixed the parser bug when a no-else if was followed by a semicolon and no newline
2011-04-11 17:23:43 +04:00
Dmitry Jemerov
f8acb78f01
inline some test code snippets
2011-04-08 20:07:45 +02:00
Dmitry Jemerov
5a0a03c1e4
Revert "refactored conditional jump generation to enable and/or generation"
...
This reverts commit b74bdb9cfd .
2011-04-08 20:02:26 +02:00
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