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
Nikolay Krasko
f9f6ae4625
Fight with "File accessed outside allowed roots"
2015-02-02 14:14:50 +03:00
Alexey Sedunov
2dbfd1fc4c
Move Statement: Fix comma placement for class parameter
...
#KT-6672 Fixed
2015-01-30 21:16:27 +03:00
Alexander Udalov
6235741f7f
Merge pull request #555 from JetBrains/rr/yole/putfield-null
...
Don't generate redundant initializers for 'var' properties.
2015-01-30 19:19:35 +03:00
Dmitry Jemerov
37651ae886
use temporary binding trace
2015-01-30 16:00:59 +01:00
Evgeny Gerashchenko
a492e248fe
Added workaround for the problem that IDEA doesn't allow keywords in cls annotations.
2015-01-30 17:50:55 +03: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
c1b6e3a63d
Minor. Swapped test data. "other" and "same" packages were confused.
2015-01-30 14:01:33 +03:00
Evgeny Gerashchenko
3ee35ff34e
Minor. Added source path for library.
2015-01-30 14:01:33 +03:00
Evgeny Gerashchenko
1e3558afc6
Simple changing temp directory in JPS test for easier debugging.
2015-01-30 14:01:32 +03: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
Valentin Kipyatkov
0cffdeb973
Added 2 failing tests for bugs in resolve
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
Svetlana Isakova
971ad53bcc
Introduced ConstraintError for storing errors in the constraint system
2015-01-30 13:33:35 +03:00
Zalim Bashorov
4f61ead1de
K2JS: fix breakpoints when use JavaScript debugger.
2015-01-29 22:25:30 +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
da238cffaf
Visibility of local classes is LOCAL
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
Andrey Breslav
b4b0b84228
Support LOCAL visibility for lazy classes
2015-01-29 16:07:26 +03:00