Commit Graph

11200 Commits

Author SHA1 Message Date
Nikolay Krasko 7ec170f6ec Fix absence of reference for type parameters 2013-07-29 18:20:09 +04:00
Natalia.Ukhorskaya b3f0a23c1d Fix android test: cannot change package name 2013-07-29 11:36:47 +04:00
Nikolay Krasko 2b0232307c Fix error on getting descriptor for class object 2013-07-27 03:57:30 +04:00
Nikolay Krasko 400906db7c Add lock for all additional resolve 2013-07-27 03:57:30 +04:00
Nikolay Krasko 93aa711a65 Always return delegated trace 2013-07-27 03:57:29 +04:00
Nikolay Krasko f3bd514f16 Thread safe lazy import scope 2013-07-27 03:57:28 +04:00
Nikolay Krasko 86dd6a3aa0 Introduce cancelable wrapping for resolve cache 2013-07-27 03:57:28 +04:00
Nikolay Krasko d62ad79232 Create thread-safe traces 2013-07-27 03:57:27 +04:00
Nikolay Krasko 37f2168c38 Refactoring: use interface instead of class 2013-07-27 03:57:26 +04:00
Nikolay Krasko 90511e93b5 Refactoring: use utility method for getting binding context with resolution for element 2013-07-27 03:57:25 +04:00
Nikolay Krasko b0b173eb5a Resolve descriptors in error class objects 2013-07-27 03:57:24 +04:00
Nikolay Krasko a69b2883ee Make resolve session be able to resolve class parameters 2013-07-27 03:57:23 +04:00
Nikolay Krasko f8e3275861 Make additional resolution work for descriptors 2013-07-27 03:57:22 +04:00
Nikolay Krasko 51f690ed4d Refactor additional resolve for reference in packages 2013-07-27 03:57:21 +04:00
Nikolay Krasko c2e8282fb9 Make type parameter name be always notnull
Fix java.lang.AssertionError: @NotNull method org/jetbrains/jet/lang/resolve/lazy/descriptors/LazyTypeParameterDescriptor.getName must not return null
2013-07-27 03:57:21 +04:00
Nikolay Krasko 9167e4f1ee Make resolve session be able to resolve class constructor parameters 2013-07-27 03:57:20 +04:00
Nikolay Krasko 27efc3b202 Additional resolve for annotations in lazy resolve 2013-07-27 03:57:18 +04:00
Nikolay Krasko ab4452a508 Refactoring: method rename resolveToExpression -> resolveToElement 2013-07-27 03:57:18 +04:00
Nikolay Krasko b6be094724 Force resolve imports for elements in imports 2013-07-27 03:57:17 +04:00
Nikolay Krasko 32b04531f6 Store information about package declaration in context
This information is used for resolving references in plugin
2013-07-27 03:57:16 +04:00
Nikolay Krasko 94ad93d810 Find line markers with lazy resolve 2013-07-27 03:57:14 +04:00
Nikolay Krasko 642def0133 Do reference resolution with lazy resolve 2013-07-27 03:57:13 +04:00
Nikolay Krasko 2621df3243 Auto generate reference tests 2013-07-27 03:57:13 +04:00
Nikolay Krasko cb19450d8d Refactor multi-reference tests 2013-07-27 03:57:10 +04:00
Nikolay Krasko 970586bfdd Use directive configuring in resolve reference tests 2013-07-27 03:57:10 +04:00
Nikolay Krasko 68bd7405ff Refactoring: remove warning 2013-07-27 03:57:09 +04:00
Nikolay Krasko bf8d5c37ed Refactoring: Fix warnings about absent final and spelling mistake 2013-07-27 03:57:08 +04:00
Nikolay Krasko f558942fdf Make getText work even if action was recognized as inapplicable 2013-07-27 03:57:07 +04:00
Nikolay Krasko ca1c13054a Refactoring: Remove not-null warnings 2013-07-27 03:57:06 +04:00
Zalim Bashorov b14a5f3ea1 Migrate to IDEA 130.1335 2013-07-26 21:33:08 +04:00
Andrey Breslav 7662cbaeb4 Compilation fixed (after CompilerVersion was renamed to KotlinVersion) 2013-07-26 14:30:21 +04:00
Nikolay Krasko 52bb8c3987 Restrict j2k test configuration to j2k module only 2013-07-26 01:24:25 +04:00
Zalim Bashorov db2711c147 Fixed the Plugin Publisher. 2013-07-25 20:23:27 +04:00
Andrey Breslav 387bf2601b Log version in JPS plugin
CompilerVersion.java is moved to cli-common (shared between compiler and JPS plugin) and renamed to KotlinVersion

This is needed because on TeamCity a JPS plugin is configured separately from the compiler, so it may happen that
JPS plugin version X tries to run compiler version X+100, and causes trouble.
2013-07-25 20:18:03 +04:00
Natalia.Ukhorskaya e11f130278 'annotation' keyword should be allowed only on classes
#KT-2785 Fixed
2013-07-25 17:00:10 +04:00
Natalia.Ukhorskaya 09b163069f Check Retention annotation writing annotations in bytecode 2013-07-25 17:00:04 +04:00
Natalia.Ukhorskaya 1066fc7f2a Minor refactoring: rename methods 2013-07-25 16:58:27 +04:00
Natalia.Ukhorskaya 6d1e46bae0 Extract method 2013-07-25 16:47:06 +04:00
Natalia.Ukhorskaya c11bd7104c Write default values for annotation parameters
#KT-3197 Fixed
2013-07-25 16:44:03 +04:00
Natalia.Ukhorskaya 73000ec407 Change error message for nullable annotation member 2013-07-25 13:25:02 +04:00
Andrey Breslav 5a5eefece8 Merge branch 'idea13' 2013-07-24 18:24:42 +04:00
Evgeny Gerashchenko a13092e525 Supported inlining constant properties. 2013-07-24 16:03:01 +04:00
Evgeny Gerashchenko b721b0211a Fixed higlighting of replaced expressions.
#KT-2637 fixed
2013-07-23 21:43:06 +04:00
Evgeny Gerashchenko d9bb3b8fb7 Minor. Reformatted. 2013-07-23 21:43:06 +04:00
Evgeny Gerashchenko a024a17b03 Extracted methods. 2013-07-23 21:43:06 +04:00
Evgeny Gerashchenko 238776eac3 Simplified priority handling. 2013-07-23 21:43:06 +04:00
Evgeny Gerashchenko 5aa4672d32 Adding parameter types for functions if necessary.
#KT-2637 in progress
2013-07-23 21:43:05 +04:00
Evgeny Gerashchenko 2cfe11cb6b Moved method. 2013-07-23 21:43:05 +04:00
Evgeny Gerashchenko 0367f1836d Adding type arguments if necessary.
#KT-2637 in progress
2013-07-23 21:43:05 +04:00
Evgeny Gerashchenko 99bfd6d477 Record type arguments when they are inferred. 2013-07-23 21:43:05 +04:00