Commit Graph

10107 Commits

Author SHA1 Message Date
Alexander Udalov 5c2d0c6173 Generate not-null assertions on extension receiver parameters 2015-02-03 21:40:39 +03:00
Alexander Udalov 39c9216edc Fix shameful assertion message error introduced after extracting method 2015-02-03 21:20:25 +03:00
Dmitry Jemerov 31d6ca8731 highlight links in KDoc; correctly highlight first word following tag name 2015-02-03 13:24:58 +01:00
Michael Nedzelsky df8fed096c add support for compile time constant serialization 2015-02-03 14:41:24 +03:00
Andrey Breslav 0f0f205248 Serializing information about star projections 2015-02-02 19:52:02 +03:00
Andrey Breslav fecf6f9fdf Star projection information preserved in substitutions
#KT-6700 Fixed
2015-02-02 19:52:01 +03:00
Andrey Breslav da639039bd KT-6698 Bad class file when using a star-projection on a Java's recursive generic parameter
#KT-6698 Fixed
2015-02-02 19:52:00 +03:00
Nikolay Krasko e802044c60 Additional cache for not-found packages 2015-02-02 14:15:04 +03:00
Nikolay Krasko a8557180f1 Register KotlinJavaPsiFacade as component 2015-02-02 14:15:01 +03:00
Nikolay Krasko c8de43f93e findPackage() parametrize with scope 2015-02-02 14:14:59 +03:00
Nikolay Krasko 07e74f3179 Refactoring: rename class 2015-02-02 14:14:57 +03:00
Nikolay Krasko aff9ac65cf Remove unnecessary intermediate class 2015-02-02 14:14:55 +03:00
Nikolay Krasko f5da351e8a Move KotlinPsiElementFinderImpl and add wrapper interface to avoid creating many unsupported methods 2015-02-02 14:14:54 +03:00
Nikolay Krasko 4a0e7489dd Remove all unused code from JavaPsiFacadeImpl 2015-02-02 14:14:52 +03:00
Dmitry Jemerov 37651ae886 use temporary binding trace 2015-01-30 16:00:59 +01:00
Dmitry Jemerov 6442b61db8 Don't generate redundant initializers for 'var' properties.
Since only 'val' properties store initializers as compile time constants in descriptors, we need to take the initializer expression from the PSI and try to evaluate it as a constant.

 #KT-6661 fixed
2015-01-30 14:05:25 +01:00
Evgeny Gerashchenko 0e7d7ac709 Workaround for type inference bug (KT-6694, for IDEA 140 branch) 2015-01-30 14:00:46 +03:00
Svetlana Isakova 6511086034 Rename: PartialBodyResolveProvider -> StatementFilter 2015-01-30 13:33:37 +03:00
Svetlana Isakova a2f03f2d52 Fix: constraint T? >: Int! should transform to T >: Int 2015-01-30 13:33:37 +03:00
Svetlana Isakova f5fb3246ae Rename: deparenthesizeArgument -> getLastElementDeparenthesized 2015-01-30 13:33:36 +03:00
Svetlana Isakova 95209d37dd Used partial resolve filter to find the last statement in a block 2015-01-30 13:33:36 +03:00
Svetlana Isakova 8c1ef59963 Minor refactoring: removed unnecessary parameter,
inlined method
2015-01-30 13:33:36 +03:00
Svetlana Isakova 0f370a7cf6 Refactoring: extracted several functions to make kotlin compile 2015-01-30 13:33:36 +03:00
Svetlana Isakova 279f09ee45 Removed method 'hasTypeConstructorMismatchAt' from status
Used ConstraintError's instead
2015-01-30 13:33:36 +03:00
Svetlana Isakova 1d67c1edea Converted Renderers to kotlin 2015-01-30 13:33:36 +03:00
Svetlana Isakova 8766120b9c Rename file to .kt 2015-01-30 13:33:35 +03:00
Svetlana Isakova 6cac6350a6 Fixed rendering of error message for 'cannot capture type' error
Type variable should be chosen correctly
2015-01-30 13:33:35 +03:00
Evgeny Gerashchenko 8f8a9b52e7 Fixed compilation error for IDEA 14.1+ (140 branch) 2015-01-29 21:48:46 +03:00
Evgeny Gerashchenko da7762e003 Fixed compilation error for IDEA 14.1+ (140 branch) 2015-01-29 21:04:54 +03:00
Andrey Breslav c3e65d1684 Work around compiler bug: rewriting one trait in Java 2015-01-29 16:07:30 +03:00
Andrey Breslav 9d7f12b69e Minor. Code simplified 2015-01-29 16:07:30 +03:00
Andrey Breslav 8754ebb939 Minor. Rename method 2015-01-29 16:07:30 +03:00
Andrey Breslav 25dffeef28 Do not modify already existing components 2015-01-29 16:07:30 +03:00
Andrey Breslav 9c469a7dff Don't make generated methods of local data classes LOCAL 2015-01-29 16:07:30 +03:00
Andrey Breslav eebe013de2 getEnclosingElementForLocalDeclaration() made stub-friendly 2015-01-29 16:07:29 +03:00
Andrey Breslav 4d66551067 Call analyzeDeclarations() that includes files where it was called before refactoring 2015-01-29 16:07:29 +03:00
Andrey Breslav 6035260e68 LOCAL classes are ACC_PUBLIC in byte code 2015-01-29 16:07:29 +03:00
Andrey Breslav 54a50ef0b5 Unused infrastructure of MutableClassDescriptor removed 2015-01-29 16:07:29 +03:00
Andrey Breslav ff133b66ed Minor. Method made private 2015-01-29 16:07:28 +03:00
Andrey Breslav ff9e6d849f Code from ImportsResolver moved, the class renamed to PlatformTypesMappedToKotlinChecker 2015-01-29 16:07:28 +03:00
Andrey Breslav 794bb07eb5 Unused code removed from ImportsResolver 2015-01-29 16:07:28 +03:00
Andrey Breslav 51c1e1268e Minor. Pointless annotations removed 2015-01-29 16:07:28 +03:00
Andrey Breslav 43a0f29a85 Unused code removed from VarianceChecker 2015-01-29 16:07:28 +03:00
Andrey Breslav 3a494ac040 Unused code removed from OverrideResolver 2015-01-29 16:07:27 +03:00
Andrey Breslav 828507de78 Unused code removed from DeclarationResolver 2015-01-29 16:07:27 +03:00
Andrey Breslav 2b432dd085 TopDownAnalyzer and TypeHierarchyResolver deleted 2015-01-29 16:07:27 +03:00
Andrey Breslav 6395fd819f Got rid of non-lazy local classifier analyzer 2015-01-29 16:07:27 +03:00
Andrey Breslav c59cb09398 Don't fail on nameless classes (syntax errors) 2015-01-29 16:07:27 +03:00
Andrey Breslav ed4da90dcd Outer DataFlowInfo delivered to local class members 2015-01-29 16:07:26 +03:00
Andrey Breslav 7323ef7002 Minor. Noisy warnings removed from test data 2015-01-29 16:07:26 +03:00