Commit Graph

21043 Commits

Author SHA1 Message Date
Nikolay Krasko 99fb75c943 Consider bundled library version to be plugin version without identifier parts 2015-03-17 20:44:18 +03:00
Zalim Bashorov 8054f18287 Minor in JS backend: add @Nullable to JsNameRef#getQualifier and JsNameRef#getSymbol. 2015-03-17 19:00:51 +03:00
Zalim Bashorov d6c70cc143 JS backend: added @Nullable to JsNameRef#getName and added assertion to get more information for reproduce #EA-66032 2015-03-17 19:00:50 +03:00
Zalim Bashorov 7d3094a0f1 JS backend: use FqNameUnsafe when generate delegateName to avoid problems with special names.
#EA-64029 Fixed
2015-03-17 19:00:50 +03:00
Pavel V. Talanov dfa8fbcb0d default -> companion: Replace missed default in error message 2015-03-17 18:26:59 +03:00
Yan Zhulanow e56d67f4b8 Android synthetic properties are now properties with flexible type 2015-03-17 17:37:14 +03:00
Yan Zhulanow 01c79c6d00 Make Android bytecode shape tests more readable 2015-03-17 17:35:24 +03:00
Yan Zhulanow 15f8ba811b Return moduleInfo UserDataProperty if it was explicitly set 2015-03-17 17:35:24 +03:00
Yan Zhulanow b04d14f79d Move plugin-related String constants to the object 2015-03-17 17:35:23 +03:00
Pavel V. Talanov a50b218c6a default -> companion: Replace some missed usages of "isDefault" 2015-03-17 17:10:53 +03:00
Evgeny Gerashchenko 3ec6ffc906 KT-7007 Go to declaration doesn't work inside enum class
#KT-7007 fixed
2015-03-17 16:10:51 +03:00
Pavel V. Talanov 94937a39be Increase ABI and stub versions 2015-03-17 15:52:41 +03:00
Pavel V. Talanov 06916d98c6 default -> companion: replace all mentions of default and default object 2015-03-17 15:47:39 +03:00
Pavel V. Talanov a0783757e8 Delete libraries/sandbox folder with old experimental stuff 2015-03-17 15:46:52 +03:00
Pavel V. Talanov 498bb89358 Delete docs folder with old confluence documentation and talks presentations 2015-03-17 15:46:52 +03:00
Pavel V. Talanov 2a6facaef6 default -> companion: default object -> class object in project code, builtins and libs code 2015-03-17 15:46:48 +03:00
Alexander Udalov 444b461ba7 Run preloader in new-kotlinc, fix reflect->runtime class-path reference 2015-03-17 15:46:47 +03:00
Dmitry Jemerov 9ea0c999fc quick doc: use check instead of assertion when getting descriptor for declaration (EA-62592) 2015-03-17 12:48:58 +01:00
Zalim Bashorov 5e782dd547 Switch to the new(right) API for register extension points and extensions. 2015-03-17 14:11:00 +03:00
Michael Bogdanov 11ce50f0d6 Tests for obsolete KT-6434: android compile error: local variable type mismatch
#KT-6434 Obsolete
2015-03-17 11:39:28 +03:00
Alexander Udalov 4b4f6a713a Implement "reflection not found" inspection and quick fix 2015-03-16 20:54:10 +03:00
Alexander Udalov 094fa2f92b Report error on using reflection without kotlin-reflect.jar in classpath
Should be a warning because strictly speaking, the codegen doesn't need it
during the compilation. It's an error at the moment only to let all clients of
Kotlin reflection know that they must include kotlin-reflect.jar in the
classpath
2015-03-16 20:40:49 +03:00
Alexander Udalov 9d6f4e99a1 Move reflection interfaces to module 'builtins'
They are considered to be built-ins everywhere anyway
2015-03-16 20:29:39 +03:00
Nikolay Krasko 48ce8d5270 Add additional logging for context and element (EA-64785) 2015-03-16 20:16:26 +03:00
Nikolay Krasko 8c5109d819 Generate descriptor for trait constructor. Exception is thrown otherwise...
EA-38416, EA-65189, EA-60850
2015-03-16 20:16:25 +03:00
Yan Zhulanow 6fb5dacde4 Fix a "property not found" exception in Gradle 2.x 2015-03-16 18:56:42 +03:00
Yan Zhulanow 6d9d3f00a2 Fix kotlin-android-extensions artifact name in subplugin 2015-03-16 18:56:41 +03:00
Michael Bogdanov 7d743f56ce Rollback default object to class one 2015-03-16 18:52:05 +03:00
Michael Bogdanov 90651e4b28 Do nothing if there is no smap data on anonymous object transfromation during fun inline 2015-03-16 18:52:05 +03:00
Michael Bogdanov 0999cd99e3 Inline iterator test 2015-03-16 18:52:05 +03:00
Michael Bogdanov 596c5b8d41 Remove lineNumber assertion: it performed in getOrCreateSourceMapper 2015-03-16 18:52:04 +03:00
Michael Bogdanov ac8e98572e Clean code 2015-03-16 18:52:04 +03:00
Michael Bogdanov 3a5b55fc61 Mute some tests 2015-03-16 18:52:04 +03:00
Michael Bogdanov 5c6b9b1bc6 New smap test 2015-03-16 18:52:04 +03:00
Michael Bogdanov 57cf4ac6c0 New test framework 2015-03-16 18:52:04 +03:00
Michael Bogdanov 7f788f86fe Return short name in test LightVirtualFile.getName() 2015-03-16 18:52:04 +03:00
Michael Bogdanov 50c9c93f37 Generate additional NOP in inline call to keep linenumbers 2015-03-16 18:52:03 +03:00
Michael Bogdanov b58cdae0c5 Added extra stepping filter 2015-03-16 18:52:03 +03:00
Michael Bogdanov 126de2ce27 Fixed container class name detection 2015-03-16 18:52:02 +03:00
Michael Bogdanov 72a3d5538f Update "sourcePath" and "availableStrata" implementations in mock objects 2015-03-16 18:52:02 +03:00
Michael Bogdanov bc2261ea3b Added message for assertion 2015-03-16 18:52:02 +03:00
Michael Bogdanov ea2f9e91e9 Test fix - update and review required 2015-03-16 18:52:01 +03:00
Michael Bogdanov 554fd8b1c6 Skip line offset on out of range line numbers 2015-03-16 18:52:01 +03:00
Michael Bogdanov d5f19eaee4 Fix InsStream 2015-03-16 18:52:01 +03:00
Michael Bogdanov ad746b7fb4 Fix noDataException warning 2015-03-16 18:52:01 +03:00
Michael Bogdanov acccfcf32e Support MultiRequestPositionManager 2015-03-16 18:52:01 +03:00
Michael Bogdanov a4117360a2 Smap refactorings 2015-03-16 18:52:01 +03:00
Michael Bogdanov 52999afc4a FqName to ClassId 2015-03-16 18:52:00 +03:00
Michael Bogdanov a7183f6e53 Source mapping generation on code compilation 2015-03-16 18:52:00 +03:00
Michael Bogdanov 99aa57b432 Visit debug info for compiled inline functions 2015-03-16 18:52:00 +03:00