Alexander Udalov
e28819b42e
Revert "Using default renderer in LoadBuiltinsTest."
...
This reverts commit 1d21ebf882 .
Conflicts:
compiler/testData/builtin-classes.txt
core/descriptors/src/org/jetbrains/jet/renderer/DescriptorRendererImpl.java
Reverting a part of this (related to the field 'prettyFunctionTypes') because
will need to add a test that deserialized built-ins (obtained by
KotlinBuiltIns.getInstance()) are consistent with lazy resolved built-ins. This
test would break because while DescriptorRenderer renders pretty function types
it compares descriptors to the ones from KotlinBuiltIns, but in case of lazy
resolve descriptors created for built-ins would be different from
KotlinBuiltIns, so renderer wouldn't correctly render a function type
2014-01-31 16:46:18 +04:00
Alexander Udalov
c39338798b
Delete outdated hack in Unit
2014-01-31 16:46:18 +04:00
Alexander Udalov
1538191c66
Fix variance in Progression and Range
2014-01-31 16:46:17 +04:00
Alexander Udalov
4a0bfa5434
Remove outdated hack in DeclarationResolver
2014-01-31 16:46:17 +04:00
Alexander Udalov
7edc4b0ff7
Add GenerateBuiltInsTest
...
Tests that generated sources of built-ins (Functions, Ranges, etc.) are
up-to-date
2014-01-31 16:46:17 +04:00
Alexander Udalov
71d956a568
Refactor built-ins source generators
2014-01-31 16:46:17 +04:00
Alexander Udalov
1f15e57918
Change built-ins generators package from 'runtime' to 'builtins'
2014-01-31 16:46:17 +04:00
Alexander Udalov
1c9d614137
Add copyright and auto-generation notice to built-in sources
2014-01-31 16:46:17 +04:00
Alexander Udalov
877d9f2220
Update year to 2014 in generated files
2014-01-31 16:46:16 +04:00
Alexander Udalov
75ab8ac5ec
Don't try to generate optimized "in" for LongRange
...
#KT-4097 Fixed
2014-01-31 16:46:14 +04:00
Alexander Udalov
9b01f01e17
Refactor codegen of "in" expression
...
Use generateIn() twice, for binary expressions and for when clauses
2014-01-31 16:46:14 +04:00
Nikolay Krasko
1832973491
Assertion messages added
2014-01-31 14:52:15 +04:00
Nikolay Krasko
eb2f3eee4d
Refactoring: remove warning
2014-01-31 14:52:15 +04:00
Nikolay Krasko
2bcedf45df
Refactoring: remove unused method
2014-01-31 14:52:14 +04:00
Nikolay Krasko
9a6ac60a5f
Minor: formatting and warnings
2014-01-31 14:52:14 +04:00
Nikolay Krasko
7546a6dc41
Suppressing warnings + update copyright date
2014-01-31 14:52:13 +04:00
Andrey Breslav
d3d2209452
Rename: CancelableResolveSession -> ResolveSessionForBodies
2014-01-30 21:03:53 +04:00
Andrey Breslav
7a6657d2e8
Resolve sessions use exception tracking from StorageManager
2014-01-30 21:03:53 +04:00
Andrey Breslav
0f4994f8b0
Created LockBasedStorageManagerWithExceptionTracking
2014-01-30 21:03:53 +04:00
Andrey Breslav
26ecf7666d
Wrap storage manager inside resolve session
2014-01-30 21:03:53 +04:00
Andrey Breslav
210827b1d5
ExceptionUtils rewritten in Kotlin
2014-01-30 21:03:53 +04:00
Andrey Breslav
d0787795b6
StorageManager supports centralized exception handling
2014-01-30 21:03:52 +04:00
Andrey Breslav
5378bded1e
Minor: reorder methods and constructors
2014-01-30 21:03:52 +04:00
Evgeny Gerashchenko
836077916b
Fixed tests after adding JetObject to generic signature.
2014-01-29 21:51:53 +04:00
Evgeny Gerashchenko
8212d591c4
Don't show selection popup when there is only one expression candidate.
2014-01-29 18:58:18 +04:00
Evgeny Gerashchenko
abf352cebd
KT-4485 getGenericInterfaces vs getInterfaces for kotlin classes
...
#KT-4485 fixed
2014-01-29 17:57:50 +04:00
Alexey Sedunov
0e9875aec3
Support moving into "else" branch of conditional expression
...
#KT-3877 Fixed
2014-01-29 15:58:53 +04:00
Alexey Sedunov
609154bab3
Generalize movable element constraint
...
#KT-4468 Fixed
#KT-4376 Fixed
2014-01-29 15:58:51 +04:00
Alexey Sedunov
8a0867a9c3
Enable Type Hierarchy for Kotlin classes referenced by non-Kotlin code #KT-4414 Fixed
2014-01-29 15:58:51 +04:00
Alexey Sedunov
774e6e23e9
Support "Find usages" for declarations contained in the library
...
#KT-4452 Fixed
2014-01-29 15:58:49 +04:00
Andrey Breslav
6a29c38e5b
Components across the project use StorageManager
2014-01-29 15:38:44 +04:00
Andrey Breslav
d7e256e992
Making deferred types thread-safe
2014-01-29 15:38:44 +04:00
Andrey Breslav
707255eef6
Automatic toString() for LockBasedStorageManager
2014-01-29 15:34:50 +04:00
Nikolay Krasko
f95017241b
Update to Idea 13.0.2
2014-01-29 13:24:49 +04:00
Natalia Ukhorskaya
e6e64c0098
Rename class
2014-01-28 18:21:48 +04:00
Natalia Ukhorskaya
1836c4c560
Add environment property for timeout in android tests
2014-01-28 18:21:47 +04:00
Natalia Ukhorskaya
72dc8ff41b
Update Android version in tests (api 19)
2014-01-28 18:21:47 +04:00
Natalia Ukhorskaya
4dbcb256d3
Add JetDiagnosticTest with stdlib
2014-01-28 18:21:46 +04:00
Natalia Ukhorskaya
36810c5bbb
Move IS_PURE for constant inside CompileTimeConstant
2014-01-28 18:21:45 +04:00
Natalia Ukhorskaya
3f429116e5
Add constructor parameter for compileTimeConstant (can be used in annotation)
2014-01-28 18:21:44 +04:00
Natalia Ukhorskaya
fd3f852a93
Annotation parameter must be constant on vararg and array arguments
2014-01-28 18:21:43 +04:00
Natalia Ukhorskaya
97da2def08
Record COMPILE_TIME_INITIALIZER for all final variables
2014-01-28 18:21:42 +04:00
Natalia Ukhorskaya
2ddda59465
Add tests for concatenation of strings
2014-01-28 18:21:41 +04:00
Natalia Ukhorskaya
cf5dc5b98b
Fix EvaluateTests for strings
2014-01-28 18:21:41 +04:00
Natalia Ukhorskaya
73de3ae9ab
Catch exceptions evaluating expression
2014-01-28 18:21:40 +04:00
Natalia Ukhorskaya
e7d31b127d
InTextDirectivesUtils: trim line with comment
2014-01-28 18:21:39 +04:00
Natalia Ukhorskaya
694db27da0
Make IntegerValueTypeConstant implements CompileTimeValue<Number>. getValue() method for it is now deprecated - getValue(expectedType) should be used
2014-01-28 18:21:38 +04:00
Natalia Ukhorskaya
a71e062504
Insert proper default value when overriding property of type float, double, char
2014-01-28 18:21:37 +04:00
Erokhin Stanislav
84c76507f0
Fixed kotlin-plugin.jar artifact.
2014-01-28 16:01:59 +04:00
Erokhin Stanislav
07ce974f9b
Fixed broken reference to jar file.
2014-01-28 16:00:16 +04:00