Commit Graph

14024 Commits

Author SHA1 Message Date
Andrey Breslav e60bd514fa StorageManager&ExceptionTracker delivered where needed
- GlobalContext introduced to group the two
- Caches track exceptions
2014-02-04 15:24:27 +04:00
Andrey Breslav 364182e3f0 Unneeded public parameters made private 2014-02-04 15:23:15 +04:00
Andrey Breslav 2da51a49dc Invalidate ResolveElementCache on exceptions from storage manager 2014-02-04 15:23:15 +04:00
Andrey Breslav a90dbc48ef Information about LockBasedStorageManager instances added to assertions 2014-02-04 15:23:14 +04:00
Alexey Sedunov 950e8d521b Remove unjustified assertion 2014-02-04 14:42:39 +04:00
Alexey Sedunov 2ea1a89e4c Specify type explicitly: Add tests 2014-02-04 14:42:37 +04:00
Alexey Sedunov c251e2dfcb Use lazy analysis in DataFlowValueRenderingTest 2014-02-04 14:42:35 +04:00
Alexey Sedunov 2d72f60f04 Use lazy analysis in live templates 2014-02-04 14:42:34 +04:00
Alexey Sedunov 60fb461842 Go to Super: Use lazy analysis 2014-02-04 14:42:32 +04:00
Alexey Sedunov 7c1e28a748 Override/Implement methods: Use lazy analysis 2014-02-04 14:42:31 +04:00
Alexey Sedunov bfbcaba0b0 Use lazy analysis in intention actions 2014-02-04 12:59:23 +04:00
Alexey Sedunov a43404d7eb Change Signature: Use lazy analysis 2014-02-04 12:59:21 +04:00
Alexey Sedunov ac984b0566 Fix warnings 2014-02-04 12:59:16 +04:00
Alexey Sedunov ec4c83dc91 Introduce Variable: Use lazy analysis
#KT-3651 Fixed
2014-02-04 12:59:14 +04:00
Alexey Sedunov a4d6fd9cd5 Call Hierarchy: Use lazy analysis
#KT-4492 Fixed
2014-02-04 12:59:12 +04:00
Alexey Sedunov 0ee950f428 Use lazy analysis in usage type provider 2014-02-04 12:45:57 +04:00
Alexey Sedunov bfa2b9ba35 Use lazy analysis in Safe Delete 2014-02-04 12:45:56 +04:00
Nikolay Krasko f526129ca4 Refactoring: use injector for creating lazy resolve session 2014-02-04 12:31:38 +04:00
Nikolay Krasko b8ddb658fb Refactoring: hide fact of using injector inside lazy resolve session 2014-02-04 12:31:38 +04:00
Nikolay Krasko 36d5e580b4 Refactoring: remove unnecessary constructors (prepare for injectors) 2014-02-04 12:31:37 +04:00
Nikolay Krasko 9aac846798 Refactoring: remove unused jvmInternalName from KotlinPackageLightClassData 2014-02-04 12:31:37 +04:00
Nikolay Krasko 45be6b081d Minor: add public modifier 2014-02-04 12:31:36 +04:00
Nikolay Krasko 5f71511788 Test for "KT-3769 Find usages gives no result for overrides"
#KT-3769 Obsolete
2014-02-04 12:31:36 +04:00
Alexander Udalov 540a06d45d Add -ea to java invocations in build.xml
Also fail if "builtins" target failed to complete successfully
2014-02-03 20:45:20 +04:00
Evgeny Gerashchenko 284124569d Fixed super signature generation when JetObject is explicit.
#KT-4485 fixed
2014-02-03 17:53:07 +04:00
Alexander Udalov 640dac834f Suppress "nothing to override" on equals, hashCode, toString
This is needed to smoothly make equals, hashCode and toString members of Any
instead of being extensions, as they are now: according to our bootstrapping
process, the same compiler code will be built twice, by old compiler (with
extensions) and by new compiler (with members). In the resulting code
'override' should be on all these members in all classes, so the old compiler
should be able to compile such code
2014-02-03 16:26:17 +04:00
Natalia Ukhorskaya 2b382ef719 Find main function when configuring classpath in Run Configuration
#KT-4482 Fixed Exception in thread "main" java.lang.ClassNotFoundException
2014-02-03 13:53:47 +04:00
Natalia Ukhorskaya 420349bb95 Refactoring in CompileTimeChecker 2014-02-03 13:53:46 +04:00
Alexey Sedunov d7f0e02b16 Simplify function 2014-02-03 13:47:05 +04:00
Alexey Sedunov 95187cd035 Avoid usage duplication for declarations with multiple light elements 2014-02-03 13:47:05 +04:00
Alexey Sedunov fbb1c2921b Safe Delete: Add support of default and by-name parameters 2014-02-03 13:47:04 +04:00
Alexey Sedunov 775baf1faf Translate KotlinJavaSafeDeleteDelegate to Kotlin 2014-02-03 13:47:03 +04:00
Alexey Sedunov 7f74ea5081 Translate KotlinSafeDeleteProcessor to Kotlin 2014-02-03 13:47:02 +04:00
Alexey Sedunov f80fa8515a Implement parameterIndex() function 2014-02-03 13:47:02 +04:00
Alexey Sedunov e52da4fce0 Support JetParameter in element description provider 2014-02-03 13:47:01 +04:00
Alexey Sedunov a6697a52ef Support getOrigin() for class constructor parameters 2014-02-03 13:47:00 +04:00
Alexey Sedunov 460babbd6f Support generalized light element conversion 2014-02-03 13:46:59 +04:00
Alexey Sedunov 374682e404 Extract utility methods from KotlinSafeDeleteProcessor 2014-02-03 13:46:59 +04:00
Zalim Bashorov 8a1ffeea70 JS backend: consider functions which renamed by annotations in simple mangling. 2014-02-03 13:31:24 +04:00
Zalim Bashorov 5c0eeb59f6 JS backend: dropped unnecessary intrinsics in StringFIF. Added tests for CharSequence.size, CharSequence.length, CharSequence.length() and CharSequence.isEmpty(). 2014-02-03 13:31:24 +04:00
Zalim Bashorov 1f1da542b7 JS: minor fix in debug helper. 2014-02-03 13:31:24 +04:00
Zalim Bashorov 95084f9e0e Js stdlib: fixed the ArrayList implementation and added tests for indexOf, addAll, remove(by ref), removeAll, retainAll, containsAll. 2014-02-03 13:31:23 +04:00
Zalim Bashorov 0cb016b187 JS stdlib: drop unnecessary code. 2014-02-03 13:31:23 +04:00
Zalim Bashorov b8559744b0 Js backend: minor fix in test closureInNestedFunctions 2014-02-03 13:31:23 +04:00
Zalim Bashorov 529d7374b8 Stdlib: enabled test List::withIndices. 2014-02-03 13:31:23 +04:00
Zalim Bashorov edb930fd76 JS stdlib: added missed tests for Set and fixed HashSet implementations. Implemented Set::iterator, AbstractCollection::removeAll, AbstractCollection::retainAll, AbstractCollection::containsAll.
#KT-4390 fixed
2014-02-03 13:31:23 +04:00
Zalim Bashorov ceab4347ec JS stdlib: added missed tests for Map and fix HashMap implementation. 2014-02-03 13:31:23 +04:00
Zalim Bashorov 15a727c6ed JS backend: dropped unnecessary tests which checked implementation details of kotlin js runtime. 2014-02-03 13:31:23 +04:00
Zalim Bashorov a37f5f57e6 JS backend: fix tests after mangling. 2014-02-03 13:31:23 +04:00
Zalim Bashorov 0374ce96b7 JS backend: introduce the stable mangling for functions which belong to the public API or not final. 2014-02-03 13:31:22 +04:00