Nikolay Krasko
ea09129eba
More memory for "All Tests" configuration
2014-09-02 14:41:00 +04:00
Natalia Ukhorskaya
d8d01ead14
Debugger, fix tests: add kotlin-runtime to classpath compiling Java Sources for tinyApp
2014-09-01 15:08:09 +04:00
Svetlana Isakova
b794b827f9
Replaced UninferredParameterType with error type
...
and UninferredParameterTypeConstructor
2014-09-01 12:32:54 +04:00
Svetlana Isakova
17c3eeb7bd
Added error 'NESTED_CLASS_SHOULD_BE_QUALIFIED'
...
when nested class is resolved through implicit this
2014-09-01 12:32:54 +04:00
Svetlana Isakova
132c292d32
Don't check class object visibility when it's in qualifier position
...
(visibility for member is checked anyway).
It might be better to underline invisible qualifier in a chain (class or class object), not the last one (member) - for later improvement.
2014-09-01 12:32:54 +04:00
Svetlana Isakova
3767187027
Refactoring: extracted 'BindingContext.getDataFlowInfo'
2014-09-01 12:32:53 +04:00
Svetlana Isakova
0b9c62ab54
Extracted util function 'recordScopeAndDataFlowInfo'
2014-09-01 12:32:53 +04:00
Svetlana Isakova
7f9ecc50c2
Use EXPRESSION_DATA_FLOW_INFO instead of NON_DEFAULT_EXPRESSION_DATA_FLOW
2014-09-01 12:32:53 +04:00
Svetlana Isakova
4e8f10b8ab
Refactoring: extracted interface Qualifier (that is not a ReceiverValue)
2014-09-01 12:32:53 +04:00
Svetlana Isakova
bc3f6e200a
Refactoring in PositioningStrategies
...
Rename: NAME_IDENTIFIER -> DECLARATION_NAME
NAMED_ELEMENT -> DECLARATION_SIGNATURE
DECLARATION, DECLARATION_OR_DEFAULT (merged) -> DECLARATION_SIGNATURE_OR_DEFAULT
2014-09-01 12:32:53 +04:00
Svetlana Isakova
67aad53db7
Render 'defined in' in resolved call tests
2014-09-01 12:32:52 +04:00
Svetlana Isakova
bbeb44e6ee
Fixed NPE in ArgumentMatchImpl.getStatus
...
Check value arguments if there is wrong number of type arguments
2014-09-01 12:32:52 +04:00
Svetlana Isakova
05637226e1
Render name of class object as 'class object of MyClass'
2014-09-01 12:32:52 +04:00
Svetlana Isakova
9d366cb896
Prohibit local objects and enum classes
...
#KT-5402 Fixed
#KT-4838 Fixed
Resolve type of object inside local object as special, not supertype('Any').
Changed visibility of constructor of anonymous object to 'internal' to be able to resolve the following:
fun box(): String {
var foo = object {
val bar = object {
val baz = "ok"
}
}
return foo.bar.baz
}
The containing declaration of property initializers is constructor, so 'baz' was invisible inside private constructor.
2014-09-01 12:32:52 +04:00
Svetlana Isakova
eaeed78154
Resolve type of anonymous object in local object as local
2014-09-01 12:32:51 +04:00
Svetlana Isakova
f811b9541c
Position error on 'class A' or 'object A' instead of name identifier only
2014-09-01 12:32:51 +04:00
Svetlana Isakova
ac3528756c
Small improvements in error reporting
2014-09-01 12:32:51 +04:00
Svetlana Isakova
53b0b3450d
Refactoring in PositionStrategies: added markRange(from, to)
2014-09-01 12:32:50 +04:00
Svetlana Isakova
6f4c152f53
Record reference to class object directly
...
not to containing class descriptor
2014-09-01 12:32:50 +04:00
Svetlana Isakova
7f33ad90a6
Report 'nested class accessed via instance reference' error
2014-09-01 12:32:50 +04:00
Svetlana Isakova
d150a26f8a
Rewrote DiagnosticRendererUtil to kotlin
2014-09-01 12:32:50 +04:00
Svetlana Isakova
3a15192bf8
Removed accidentally committed 'setTextRanges' from Diagnostic
2014-09-01 12:32:50 +04:00
Svetlana Isakova
6c63492355
KT-5308 Wrong ExplicitReceiverKind when access to IntRange.EMPTY
...
#KT-5308 Fixed
2014-09-01 12:32:49 +04:00
Svetlana Isakova
8289f13016
Introduced QualifierReceiver instead of PackageType
2014-09-01 12:32:49 +04:00
Svetlana Isakova
cc92589378
Generated FunctionParameterInfoTest
2014-09-01 12:32:49 +04:00
Svetlana Isakova
d1afa215e7
Removed ExpressionTypingContext.containingDeclaration
...
it's always scope.getContainingDeclaration()
2014-09-01 12:32:49 +04:00
Svetlana Isakova
8f6f8331ac
DelegationSpecifier resolve depends on expected type (supertype)
2014-09-01 12:32:48 +04:00
Svetlana Isakova
e7c285e0e0
Launch ResolvedCallsTest with kotlin library
2014-09-01 12:32:48 +04:00
Svetlana Isakova
e4e09d6c70
Resolve invoke on class objects and enum entries
...
Added FakeCallableDescriptorForObject to make a resolved call
with object as variable in 'variable as function call'
#KT-4321 Fixed
#KT-4863 Fixed
2014-09-01 12:32:48 +04:00
Alexander Udalov
19d35b8ec6
Fix ClassCastException: PsiParameterImpl cannot be cast to JetParameter
...
Fixes EA-59008. No new tests added, difficult to reproduce
2014-09-01 11:22:19 +04:00
Evgeny Gerashchenko
4e41673b75
Added check for duplicate source paths in all compiler workflows.
2014-08-29 17:49:10 +04:00
Evgeny Gerashchenko
35720ff46d
Supported methods with default arguments in partial package compilation.
2014-08-29 16:31:29 +04:00
Evgeny Gerashchenko
3226093fa6
Fixed redeclaration from incremental compilation. Added workaround for JPS bug.
2014-08-29 16:31:29 +04:00
Evgeny Gerashchenko
76864a3eb0
Minor. Clearer logic.
2014-08-29 16:31:29 +04:00
Evgeny Gerashchenko
15cb2ec586
Supported multi-module incremental compilation tests.
2014-08-29 16:31:29 +04:00
Natalia Ukhorskaya
f8468718cb
Minor: fix warnings in KotlinEvaluationBuilder
2014-08-29 15:17:14 +04:00
Natalia Ukhorskaya
e7a72b70a6
Add some more test on filters for debugger
2014-08-29 15:17:13 +04:00
Natalia Ukhorskaya
5c0c22d087
Stepping: do not step into kotlin standard library
...
#KT-2076 Fixed
2014-08-29 15:17:13 +04:00
Natalia Ukhorskaya
88afc7a949
Minor: rename
2014-08-29 15:17:12 +04:00
Natalia Ukhorskaya
741f55d89c
Debugger: Add filter for Kotlin specific classes
...
#KT-2076 Fixed
2014-08-29 15:17:12 +04:00
Natalia Ukhorskaya
f26ea299dc
Debugger: add tests (filter classloaders and constructors)
2014-08-29 15:17:11 +04:00
Alexander Udalov
619ffead17
Fix test data file name
2014-08-29 15:09:14 +04:00
Michael Bogdanov
83eb983e08
KT-5699 VerifyError in inlines
...
#KT-5699 Fixed
2014-08-29 14:02:52 +04:00
Andrey Breslav
d80907543f
KT-5697 Duplicate Unit type
...
#KT-5697 Fixed
2014-08-29 12:51:07 +04:00
Alexander Udalov
ec12d1d71d
Fix deprecation warnings on junit.framework.Assert
...
Use org.junit.Assert instead everywhere. Also fix some other minor warnings
2014-08-29 12:34:07 +04:00
Alexander Udalov
d37727185e
Fix IDEA plugin behavior with classes in library sources
...
In case when some class was contained in sources of some library (in addition
to classes of some library) we incorrectly assumed that its ModuleInfo is
LibrarySourceInfo of that library, because we checked if the file was in
library sources first. Now we check if the file is in library _classes_ first,
and then sources
#KT-5695 Fixed
2014-08-28 17:24:42 +04:00
Michael Bogdanov
2afa51dbde
Added missed artifact entry for lazy resolve module
2014-08-28 16:27:02 +04:00
zarechenskiy
9fe42be7c4
Move part of lazy element resolver structure to new module ide-lazy-resolve
...
This new module will be used from Eclipse, it should not have any idea
specific logic that is applicable only for idea
2014-08-28 13:53:48 +04:00
Nikolay Krasko
97a95d6a6a
Fix "Cannot resolve method" error in Java for methods from trait
2014-08-28 13:47:36 +04:00
Valentin Kipyatkov
9859b10854
Fixed test
2014-08-27 19:07:39 +04:00