Alexander Udalov
4c5fe70804
Do not compare boxed values with 0 via IFEQ/IFNE
2012-10-30 22:54:20 +04:00
Evgeny Gerashchenko
6e62212727
Replaced sure() invocations with '!!' operator in codegen tests.
2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko
c33b880a57
EA-39177 - CCE: ArrayIterator.generate
...
If local variable is auto-casted to array, it should be iterated as array.
2012-09-14 16:12:16 +04:00
Andrey Breslav
2a1307e040
For-loop over long range test
2012-08-31 12:52:46 +04:00
Andrey Breslav
a47ab0d408
More tests for continue in for loops
2012-08-30 20:30:52 +04:00
Andrey Breslav
59724296d6
Fix continue in for loops. Tests added
2012-08-30 20:16:09 +04:00
Andrey Breslav
c0c2ca0ac2
Report errors when iterator() returns a nullable type
2012-08-24 19:49:33 +04:00
Andrey Breslav
66faa0c03a
For-loop range expression (collection) can not be null
2012-08-24 19:49:33 +04:00
Andrey Breslav
e57e61ac68
For-loop generation rewritten for the case of explicit iterator usage
...
This implementation includes multi-declarations already, but tests are coming in the next commits.
Old ForLoopgenerator renamed to IntrinsicForLoopGenerator, and will be unified with the newly introduced interface soon.
Side-effect:
KT-2668 Codegen doesn't handle member extensions in for
#KT-2668 Fixed
2012-08-24 19:49:31 +04:00
Andrey Breslav
0cc27c0176
Use generic invokeFunction() instead of ad-hoc one for in-range conditions in when
2012-08-22 17:07:52 +04:00
Svetlana Isakova
df93a26839
use kotlin Iterable/Iterator
...
instead of java Iterable/Iterator
in Kotlin code in tests
2012-08-16 18:39:23 +04:00
Alexander Udalov
e5119da97a
Multiple fixes for try-catch-finally codegen
...
#KT-2259 Fixed
#KT-2577 Fixed
2012-08-08 15:35:23 +04:00
Stepan Koltsov
5e77ca553c
make most codegen tests are indenendent from jdk-headers/stdlib now
2012-05-01 23:49:22 +04:00
Stepan Koltsov
d71723131d
Revert "enhance tests (mostly codegen)" temporarily
...
This reverts commit 95f9bcbacb .
2012-05-01 21:21:46 +04:00
Stepan Koltsov
95f9bcbacb
enhance tests (mostly codegen)
...
* drop dependency on stdlib/alt-headers in the most tests
* assign to myEnvironment at most once in JetLiteFixture
* more tests do not compile runtime
2012-05-01 19:11:48 +04:00
Svetlana Isakova
b5bf4a626c
Reverted explicitly specifying visibility modifier while override
2012-04-18 19:02:24 +04:00
Svetlana Isakova
9b2eeb076e
KT-1717 Don't make member visibility inherit when it is not declared explicitly
...
#KT-1717 Fixed
2012-04-03 19:26:28 +04:00
Alex Tkachman
ffbce7fe1e
KT-1589: Array<T>(size) renamed to arrayOfNulls
2012-04-02 14:30:37 +03:00
Alex Tkachman
8176487c93
changed synchronized from extension method to normal one
2012-01-24 14:48:09 +02:00
Andrey Breslav
6aad3b2662
GreatSyntacticShift: Codegen testdata fixed
2011-12-20 22:56:13 +04:00
Alex Tkachman
ccdc80d1fe
fix for while-loop-ending-with-if bug
2011-12-20 11:23:13 +02:00
Alex Tkachman
1e471aa9c4
synchronized method
2011-12-19 10:21:17 +02:00
Alex Tkachman
ce1718e518
better handling of empty if/else blocks
2011-11-29 11:56:30 +02:00
Alex Tkachman
39ca8eded8
KT-531 Support nullable iterator in for()
2011-11-18 21:12:25 +02:00
svtk
000086555b
Merge branch 'master' of ssh://git.labs.intellij.net/jet
2011-10-24 18:54:35 +04:00
svtk
734e8ee3a2
Existing tests correction: forbid val reassignment
2011-10-24 17:40:16 +04:00
Alex Tkachman
2010d770b5
Iterator.hasNext() becomes property
2011-10-23 20:20:41 +02:00
Dmitry Jemerov
ec6dec0d37
separate compiler and plugin tests
2011-10-20 16:21:18 +02:00