Andrey Breslav
89e1588e13
LIGHT_CLASSES mode for scripts
...
- Do not generate constructor bodies
- Do not generate script class when package contents are requested
- NOT DONE: generate script class when its name is requested
2014-12-25 22:02:23 +03:00
Andrey Breslav
95f5e8d08c
Fix exception from completion and other services
2014-12-25 22:02:23 +03:00
Andrey Breslav
292cb9baa9
Resolve dangling annotations in files and class bodies
2014-12-25 19:42:38 +03:00
Alexey Sedunov
e296390dd6
Introduce Variable: Do not create separate template to edit type reference
...
#KT-4314 Fixed
2014-12-25 17:12:19 +03:00
Pavel V. Talanov
2fe77d2c6c
Fix problem with several runtimes configured
2014-12-25 15:49:49 +03:00
Andrey Breslav
0b01667ad1
Incorrect assertions removed: these methods are used by completion
...
Completion correctly proposes packages in type position, as part of an incomplete fqName
2014-12-24 17:53:02 +03:00
Pavel V. Talanov
d6881b78d2
Add hack to avoid stub ast mismatch when decompiling libraries built with M9 compiler
2014-12-24 16:49:59 +03:00
Nikolay Krasko
5745a1624b
Take read action instead of simply asserting it
2014-12-24 15:40:47 +03:00
Valentin Kipyatkov
f1840a4f39
Fixed detection of parenthesis needed (otherwise it added them around if when not needed)
2014-12-24 14:19:26 +03:00
Valentin Kipyatkov
3db51cfcd8
KT-5927 Join Lines could merge nested if's
...
#KT-5927 Fixed
2014-12-24 14:19:26 +03:00
Valentin Kipyatkov
37e40267fe
KT-6521 Expand selection works wrong on a call inside for loop's range
...
KT-6518 Extend selection not working for expression in if
#KT-6521 Fixed
#KT-6518 Fixed
2014-12-24 14:17:43 +03:00
Alexey Sedunov
7d31c562b3
Remove braces from block string template entry: Simplify implementation
2014-12-23 20:43:20 +03:00
Alexey Sedunov
6084352d37
Introduce Variable: Properly convert function body to block when needed
...
#KT-5353
2014-12-23 20:43:17 +03:00
Alexey Sedunov
c73253259f
PSI: Move getEqualsToken() method to JetDeclarationWithBody
2014-12-23 20:43:16 +03:00
Andrey Breslav
93326d8643
Added centralized positioning for front-end exceptions
2014-12-23 18:37:40 +03:00
Michael Bogdanov
db40a5a3d8
Skip local declarations in visibility publicity checking
2014-12-23 16:28:44 +03:00
Michael Bogdanov
9e864f3c36
Fix java visibility publicity
...
#KT-6478 Fixed
2014-12-23 16:28:44 +03:00
Andrey Breslav
bdefbc182a
Take declaration's origin element before looking for declaration by descriptor
2014-12-23 15:18:48 +03:00
Andrey Breslav
6728a384e4
KT-4881 Annotation resolved to package should be compile-time error
...
#KT-4881 Fixed
2014-12-23 15:18:47 +03:00
Andrey Breslav
8ff5cf62cc
Generate annotations from descriptors, not PSI
2014-12-23 15:18:46 +03:00
Andrey Breslav
830e4dfd98
Pointless annotations removed
2014-12-23 15:07:45 +03:00
Andrey Breslav
0880c20614
Rename ONLY_CLASSES -> ONLY_CLASSES_AND_PACKAGES
2014-12-23 15:07:45 +03:00
Natalia Ukhorskaya
8896aa93b4
Fix NPE in ReferenceVariantsHelper
...
#KT-6500 Fixed
2014-12-23 14:40:27 +03:00
Natalia Ukhorskaya
e35b960eb5
Stepping: do not write line numbers for call arguments
...
#KT-3080 Fixed
2014-12-23 14:40:26 +03:00
Natalia Ukhorskaya
c66af565f6
Make LineNumberTest auto-generated
2014-12-23 14:40:25 +03:00
Natalia Ukhorskaya
0dcb5b05b6
Local variables should be visible on return statement in debugger
...
#KT-6248 Fixed
2014-12-23 14:40:23 +03:00
Svetlana Isakova
6489ff2cb6
Ignore constraint from implicit 'in Nothing'
...
From Array<T> <: Array<out Int> we may generate T >: Nothing (implicit) and T <: Int (explicit).
Without ignoring we'll infer 'Nothing' for T too often
2014-12-22 12:04:42 +03:00
Pavel V. Talanov
70f6fcadc9
Increase stub version
2014-12-21 14:23:43 +03:00
Pavel V. Talanov
15add4bd64
Remove no longer meaningful utils from JavaResolverUtils
2014-12-21 14:23:42 +03:00
Pavel V. Talanov
ec4f506f8f
Minor: move some code to super class in Kotlin light classes
2014-12-21 14:23:31 +03:00
Pavel V. Talanov
56e3983dc9
Move and rename JavaElementFinderMultiFileTest
...
It is now relevant for IDE only
2014-12-21 14:23:30 +03:00
Pavel V. Talanov
15b2977b85
Refactor: refine API of LightClassGenerationSupport
...
Move some specific code to IDELightClassGenerationSupport
2014-12-21 14:23:28 +03:00
Pavel V. Talanov
33fc241158
Rework go to symbol/class and getNavigationElement() for kotlin declarations
...
Based on work by geevee
2014-12-21 14:23:28 +03:00
Pavel V. Talanov
afc6ba5e16
Build kotlin stubs for compiled Kotlin files
...
This means that JetPsi would be built for compiled kotlin files
2014-12-21 14:23:25 +03:00
Pavel V. Talanov
e20dd42aa4
Refactor stubs:
...
Convert all interface classes to kotlin and move them into one file
Convert some of Impl classes
Fix typo: hasValOrValNode
Extract ModifierMaskUtils
Minors
2014-12-21 14:23:24 +03:00
Andrey Breslav
633a4aa8f2
Self-types marked as unsupported
2014-12-19 20:36:16 +03:00
Nikolay Krasko
f8dc0d028d
Remove warning about long look-ahead
...
It's do a annoying warn when there's a code like this:
{
call(params)
call(params)
call(params)
}
2014-12-19 17:29:24 +03:00
Nikolay Krasko
db488ad295
Add utility function for getting text with context
2014-12-19 17:29:24 +03:00
Alexander Udalov
6793464cd0
Drop obsolete code in built-in serialization
2014-12-19 14:41:51 +03:00
Alexander Udalov
4358b3fbc3
Do not use private Sun API in preloader
2014-12-19 14:37:46 +03:00
Denis Zharkov
04e560bc74
Get reified signature from JetTypeMapper
...
#KT-6485 Fixed
2014-12-18 21:12:52 +03:00
Valentin Kipyatkov
f8ceb039bb
Added utilities
2014-12-18 19:02:16 +03:00
Zalim Bashorov
eae4cdbd8f
Log error when cannot read properties.
2014-12-18 14:34:38 +03:00
Zalim Bashorov
465c4a397e
Rename manifest.properties to kotlinManifest.properties to avoid clashing with other resources.
2014-12-18 14:34:37 +03:00
Svetlana Isakova
b7806be8b5
Fixed test data for builtin-classes
2014-12-16 20:01:38 +03:00
Zalim Bashorov
92984a37ea
Js frontend: prohibit default values for functions annotated as nativeIndexer.
2014-12-16 18:30:05 +03:00
Zalim Bashorov
4c3073d03e
JS frontend tests: add test cases with declare member extension functions.
2014-12-16 18:30:04 +03:00
Zalim Bashorov
2484954e2f
Frontend tests: serialize dynamic call descriptors and check them in diagnostic tests.
2014-12-16 17:48:26 +03:00
Zalim Bashorov
d071c44126
Minor in Frontend: fix default getter return type.
2014-12-16 17:48:26 +03:00
Ilya Ryzhenkov
be717f48f8
Stop using deprecated APIs
2014-12-16 17:33:24 +03:00