Alexey Sedunov
5d4527d7aa
Parser: Fix recovery of constructor parameter list
...
#KT-4739 Fixed
2014-03-25 16:49:46 +04:00
Andrey Breslav
80737bdfcf
Fix PSI behavior for "val x : ()?' case
2014-03-25 15:55:53 +04:00
Evgeny Gerashchenko
6725b4f1b0
Minor. Unified code.
2014-03-25 14:34:59 +04:00
Evgeny Gerashchenko
5360451022
Minor. Renamed methods.
2014-03-25 14:34:58 +04:00
Evgeny Gerashchenko
33e59103ec
Fixed test when JDK 8 is system default.
2014-03-25 14:34:58 +04:00
Evgeny Gerashchenko
74ff77eca4
Added test case to K2JvmCliTest.
...
Test is already present.
2014-03-25 14:34:57 +04:00
Evgeny Gerashchenko
a502374a62
Added incremental compilation flag. For publishing intermediate implementation.
2014-03-25 14:34:53 +04:00
Evgeny Gerashchenko
3553f0701c
Minor. Got rid of useless parameter.
2014-03-25 14:31:45 +04:00
Evgeny Gerashchenko
a44f0c2f2d
Removed dependency on asm in descriptor.loader.java
...
Conflicts:
compiler/backend/src/org/jetbrains/jet/codegen/JavaSerializerExtension.java
2014-03-25 14:31:45 +04:00
Evgeny Gerashchenko
9f8a16fb1a
Unified copying of property and method proto data.
2014-03-25 14:31:44 +04:00
Evgeny Gerashchenko
733de56178
Supported properties in partial compilation of package.
2014-03-25 14:31:44 +04:00
Evgeny Gerashchenko
5e9e0acc34
Introduced trait for deserialized callable and implementations.
2014-03-25 14:31:42 +04:00
Evgeny Gerashchenko
cb0a85bc50
Simplified code in functions hierarchy.
...
Minimized constructors variety and reduced code duplication.
2014-03-25 14:31:41 +04:00
Evgeny Gerashchenko
537c03fb1a
Added test checking that initialization order in package part is not violated.
2014-03-25 14:31:41 +04:00
Evgeny Gerashchenko
d62bc07437
Partial compilation of package (only functions supported).
2014-03-25 14:31:38 +04:00
Evgeny Gerashchenko
00c2bd60e5
Code cleanup in PackageCodegen.
...
Converted set to one element (because it's always one element). Checking for all files to be in one package FQ name is redundant.
2014-03-25 14:26:49 +04:00
Evgeny Gerashchenko
5c8253c099
Rendering class or package proto when JPS test fails.
2014-03-25 14:26:48 +04:00
Evgeny Gerashchenko
5f77a4548e
Extracted util method reading class header from bytes.
2014-03-25 14:26:48 +04:00
Ilya Ryzhenkov
480dd6767c
Convert module scripting to .ktm extension.
2014-03-24 18:17:51 +04:00
Ilya Ryzhenkov
98c54f39bb
Unify script file extensions to "kts" so that IDEA, compiler and tests agree when to parse as SCRIPT.
...
Include kt* files into formatter test generation, to test scripting formatting
2014-03-24 18:17:50 +04:00
Ilya Ryzhenkov
9239fa2ece
ScriptName now returns FqName, fully qualified with package name. Update usages and convert to internal format as needed.
2014-03-24 18:17:50 +04:00
Ilya Ryzhenkov
d08f2bc7ab
Do not dispose classLoader so that dependent types can be loaded on demand, like closures.
2014-03-24 18:17:49 +04:00
Ilya Ryzhenkov
e49f4a0722
Marked scripting points with // SCRIPT: markers.
2014-03-24 18:17:49 +04:00
Pavel V. Talanov
618aea6218
Increase stub version before pushing into master
2014-03-24 17:51:55 +04:00
Pavel V. Talanov
cbaa515a00
Minor: remove redundant toString override
2014-03-24 17:51:51 +04:00
Pavel V. Talanov
a1dbf221b3
Use instance methods instead of JetPsiUtil for getting fq names
...
Remove unnecessary usages of JetFile#getPackageDirective where only FqName is needed
Make JetFile#getPackageFqName not nullable to avoid confusion on call sites
Remove getPackageName usages
Move getFqName(JetNamedDeclaration) to a separate util class
2014-03-24 17:51:49 +04:00
Pavel V. Talanov
c4de1898ce
Minor: remove unused method
2014-03-24 17:51:45 +04:00
Pavel V. Talanov
97b4c57f0e
Minor: fix misleading method name
2014-03-24 17:51:41 +04:00
Pavel V. Talanov
246466bdc5
Implement stub based package declaration provider for lazy resolve
...
Implement StubPackageMemberDeclarationProvider
Introduce DeclarationProviderFactoryService to provide difference factories in CLI and Plugin
When indexing treat top level declarations without name specially so that they can be found in index
Implement PluginDeclarationProviderFactoryService which uses file based approach for non indexed files and stub based for others
2014-03-24 17:51:38 +04:00
Pavel V. Talanov
105949de53
Refactor: fix stubs and psi having redundant constructor parameters
2014-03-24 17:06:06 +04:00
Pavel V. Talanov
b2f2d43919
Stubs for JetClassBody
2014-03-24 17:06:05 +04:00
Pavel V. Talanov
4ef86bdf9f
Add getFqName() to JetNamedDeclaration interface
...
Use stubs to get fq name in stubbed implementations
2014-03-24 17:06:03 +04:00
Pavel V. Talanov
4c1c69a560
Prevent toString for PSI from mutating
2014-03-24 17:06:02 +04:00
Pavel V. Talanov
1859ce6124
Minor: fix misleading parameter name
2014-03-24 17:06:00 +04:00
Pavel V. Talanov
8d07bc60d0
Refactor: remove redundant getElementType overrides is PSI
2014-03-24 17:05:59 +04:00
Pavel V. Talanov
24364dd63b
Get rid of JetNodeTypes#LOOP_PARAMETER
2014-03-24 17:05:58 +04:00
Alexander Udalov
0b5e9527d1
Add a code conformance test against com.beust.jcommander.internal.*
2014-03-24 16:40:07 +04:00
Alexander Udalov
d704b37240
Minor, delete outdated suppressions, fix warnings
2014-03-24 16:40:07 +04:00
Svetlana Isakova
8f1c7aa8f6
Refactoring: made 'resolveFunctionCall' return OverloadResolutionResults
...
not OverloadResolutionResultsImpl
2014-03-24 16:09:31 +04:00
Svetlana Isakova
9c21fb3b1f
Minor: removed "? extends"
2014-03-24 16:09:31 +04:00
Svetlana Isakova
77880f667a
Collect all resolved candidate calls if required
2014-03-24 16:09:31 +04:00
Svetlana Isakova
e6a71563ba
Added collectAllCandidates flag to ResolutionContext
2014-03-24 16:09:31 +04:00
Svetlana Isakova
d2f70b772d
refactoring: extracted method doResolveCallAndRecordDebugInfo
2014-03-24 16:09:31 +04:00
Mikhael Bogdanov
35174b459a
Enable Inline flag for light classes
2014-03-20 17:50:54 +04:00
Mikhael Bogdanov
ca4609dd2a
Support inline true/false options
2014-03-20 17:50:52 +04:00
Alexander Udalov
7d311cdfa0
Support named arguments for Java constructors annotated with KotlinSignature
2014-03-20 12:49:16 +04:00
Svetlana Isakova
b33e3fc9d6
Merge pull request #371 from Stebalien/push-not-in-intention
...
Add an intention to simplify negated expressions.
2014-03-20 11:15:36 +03:00
Svetlana Isakova
d90e6460d1
Added asserts about unfinished state
...
to ResolutionTaskHolder
2014-03-20 10:06:03 +04:00
Svetlana Isakova
3a14ab0af3
Removed ExpressionAsFunctionDescriptor
2014-03-20 10:06:03 +04:00
Svetlana Isakova
75fbecceda
Improved error reporting for invoke on expression
2014-03-20 10:06:02 +04:00