Ilya Gorbunov
69dc6701cc
Deprecate Double, Float and Comparable range implementations.
2015-10-19 15:37:41 +03:00
Denis Zharkov
5cecaa6f87
Get rid of deprecated annotations and modifiers in stdlib (besides JS)
2015-09-18 10:14:28 +03:00
Denis Zharkov
e8f91e596c
Adjust test data after fixes about generic nullability
2015-08-28 18:50:26 +03:00
Ilya Gorbunov
8892192e9c
Generate openRange tests for compiler.
...
#KT-4665
2015-07-24 04:13:53 +03:00
Ilya Gorbunov
71f3e3049a
Provide until function to construct integer ranges with an end being excluded from range.
...
#KT-4665 Fixed
2015-07-24 04:13:41 +03:00
Ilya Ryzhenkov
24ee79aa2d
Replace ArrayList<Any>() with stdlib_emptyListClass() and fix test. #KT-6013 Fixed
2014-11-06 16:45:56 +03:00
Ilya Ryzhenkov
717f03f474
Split tests into platform independent and JVM parts to run subset of tests in JS
2014-04-24 12:59:43 +04:00
Natalia Ukhorskaya
4329c42e3f
Make unary minus and unary plus return int for byte and short
2013-12-23 13:46:00 +04:00
Natalia Ukhorskaya
d63f6843c8
Merge ConstantExpressionEvaluator and CompileTimeConstantResolver
2013-12-05 15:21:50 +04:00
Alexander Udalov
ee80e0b8ca
Fix loops over progressions near to MAX_VALUE/MIN_VALUE
...
#KT-492 Fixed
For Byte, Char and Short ranges, promote the type of the loop parameter to int
to avoid overflows. For Int and Long ranges at the end of the loop over a
progression we now check if the new (incremented) value of the loop parameter
is greater than the old value iff increment > 0
2013-06-20 16:03:00 +04:00
Alexander Udalov
33d6347876
Fix loop over a range literal up to MAX_VALUE
...
#KT-492 In Progress
For Byte, Char and Short explicit casting from Int is removed -- loop parameter
is already stored in an Int anyway. For Int and Long comparison "i < end" at
the beginning of the loop is replaced to "i != end" at the end of the loop + a
special check for an empty loop
2013-06-20 16:02:59 +04:00
Evgeny Gerashchenko
ccab19b2a1
Added range/progression tests with NaN ends.
2013-02-13 18:08:36 +04:00
Evgeny Gerashchenko
5a4ae00970
Added range iteration test with non-literal ranges.
2013-02-13 18:08:33 +04:00
Evgeny Gerashchenko
57e985b7f1
Generated codegen tests for ranges.
2013-01-30 19:24:15 +04:00
Evgeny Gerashchenko
58f37f38f4
Renamed NumberSequence to Progression.
2013-01-29 22:55:10 +04:00
Evgeny Gerashchenko
2fd1430329
Tests for all kinds of ranges and sequences.
2013-01-29 22:55:09 +04:00