Natalia Ukhorskaya
3dcfae4a81
Debugger: delegated property should be visible in debugger
...
#KT-4699 In Progress
#KT-3582 Fixed
2014-09-17 13:59:53 +04:00
Natalia Ukhorskaya
655682ac97
Move regression tests from stdlib to compiler
...
#KT-5770 FIxed
2014-09-17 13:59:52 +04:00
Valentin Kipyatkov
d5f509580f
Minor fix in completion
2014-09-17 13:24:56 +04:00
Valentin Kipyatkov
a4613ec4a0
Changed completion logic: include non-imported declarations on second press even when prefix is empty
2014-09-17 13:24:56 +04:00
Valentin Kipyatkov
75f7f296aa
Non-imported extension functions and properties in smart completion + adding import on completing of non-imported property
2014-09-17 13:24:56 +04:00
Zalim Bashorov
507bfe49aa
Minor: "js.noImpl" -> "noImpl"
2014-09-16 19:34:57 +04:00
Zalim Bashorov
38401d04d5
Minor: made noImpl generic to avoid using in wrong context.
2014-09-16 19:32:38 +04:00
Zalim Bashorov
30208d5532
Minor: drop semicolon in package declaration everywhere.
2014-09-16 19:32:37 +04:00
Zalim Bashorov
0f136d5adc
Minor in JS lib: dropped semicolon in package declarations.
2014-09-16 19:32:37 +04:00
Zalim Bashorov
b0aa3e9988
JS stdlib: fixed visibility in some declarations.
2014-09-16 19:32:37 +04:00
Zalim Bashorov
0b0e9ee244
JS stdlib: test that js library doesn't contain internal declarations.
2014-09-16 19:32:37 +04:00
Zalim Bashorov
838c384672
"js" -> "kotlin.js"
2014-09-16 19:32:37 +04:00
Zalim Bashorov
b28b0046d1
Minor: drop obsolete code.
2014-09-16 19:32:37 +04:00
Zalim Bashorov
efd4409dbf
Minor: increase memory in JS backend tests.
2014-09-16 19:32:37 +04:00
Zalim Bashorov
59b83679b3
Minor in JS stdlib: made stdlib warning less -- suppressed some BASE_WITH_NULLABLE_UPPER_BOUND warnings and fix one extra out projection.
2014-09-16 18:07:37 +04:00
Zalim Bashorov
0c0d049de7
Minor in JS backend: drop unnecessary inline annotations.
2014-09-16 18:07:37 +04:00
Zalim Bashorov
0fd1b5152a
Minor in JS backend: added comment for InvokeIntrinsic::bothReceivers.
2014-09-16 18:07:36 +04:00
Michael Bogdanov
a735d67e86
Check noinline annotation on non-local return processing
2014-09-16 15:33:14 +04:00
Michael Bogdanov
b763aa9995
Added platform static checker with provider implementation
2014-09-16 14:38:15 +04:00
Zalim Bashorov
9b065a89b9
JS backend: fix annotation class compilation.
2014-09-16 14:21:50 +04:00
Alexander Udalov
1905401273
Move ClassId to module descriptors, closer to other names
2014-09-16 11:36:39 +04:00
Alexander Udalov
ed92eb1d17
Minor, use another constructor of ClassId
2014-09-16 11:32:45 +04:00
Alexander Udalov
b0539ac7a4
Minor, fix old terminology mistake
2014-09-15 19:30:53 +04:00
Alexander Udalov
cfefa0c970
Convert VirtualFileKotlinClass to Kotlin
2014-09-15 19:30:53 +04:00
Alexander Udalov
940d07c81b
Rename VirtualFileKotlinClass.java to .kt
2014-09-15 19:30:53 +04:00
Alexander Udalov
556e313141
Minor, improve multi-module java analysis test
...
- don't check supertypes for every callable in a class
- don't check methods from Any
- check that all descriptors were correctly resolved (otherwise the test
failure error message was very cryptic)
2014-09-15 19:30:53 +04:00
Alexander Udalov
73a92c6aa9
Remove JavaClass.getAllMethods()/getAllFields()
...
Their behavior is different in PSI and reflection (two things that this
interface is supposed to unify), so there's no point in making it interface
methods, rather we should just walk supertype hierarchy manually
Also make JavaClassImpl.getSupertypes() invoke PsiClass.getSuperTypes(),
because it also contains java.lang.Object for interfaces, which makes
equals/hashCode/toString appear in interfaces' getAllMethods() as well
2014-09-15 19:30:53 +04:00
Alexander Udalov
f39c3041d2
Make MISSING_VAL_ON_ANNOTATION_PARAMETER error instead of warning
...
Annotation with a parameter that is not stored doesn't make any sense
2014-09-15 19:30:52 +04:00
Alexander Udalov
f64e633a7e
Minor, add NotNull annotations to test sources
2014-09-15 19:30:52 +04:00
Alexander Udalov
3485d65d8a
Remove superfluous isVararg() from JavaMethod
2014-09-15 19:30:52 +04:00
Alexander Udalov
924283d2d9
Extract JavaConstructor out of JavaMethod
...
Will be useful in reflection-backed implementation of Java structure, where
Constructor is not a Method and doesn't even inherit from it
2014-09-15 19:30:52 +04:00
Alexander Udalov
04ff45dee3
Drop "toClassId" in DeserializerForDecompiler
2014-09-15 19:30:51 +04:00
Alexander Udalov
7595e32bb6
Use ClassId instead of JvmClassName in KotlinJvmBinaryClass
...
ClassId contains exact information about origin of the class (e.g. if '$' in
the class name denotes nested classes separator or just a character in the
name)
2014-09-15 19:30:51 +04:00
Alexander Udalov
1f8b2cef52
Read InnerClasses attribute value in FileBasedKotlinClass
...
Resolve names mentioned in class declarations based on this information
2014-09-15 19:30:51 +04:00
Alexander Udalov
e3b01f073f
Replace FqName by ClassId where possible in Java resolver
2014-09-15 19:30:51 +04:00
Alexander Udalov
9648c50ac9
Minor, refactor FileBasedKotlinClass factory method
2014-09-15 19:30:51 +04:00
Alexander Udalov
fa39bf03a0
Extract abstract FileBasedKotlinClass out of VirtualFileKotlinClass
...
Add another implementation of FileBasedKotlinClass which was indirectly used in
jps-plugin (LocalFileKotlinClass)
2014-09-15 19:30:51 +04:00
Alexander Udalov
f34f2e71a8
Minor, add NotNull annotations to VirtualFileKotlinClass
2014-09-15 19:30:50 +04:00
Alexander Udalov
a8c5f1bb3a
Drop KotlinClassFinder#findKotlinClass(FqName)
...
findKotlinClass(ClassId) should be used instead
2014-09-15 19:30:50 +04:00
Alexander Udalov
422e922c36
Make JavaClassFinder accept ClassId rather than FqName
...
ClassId has more information about the name which will be very useful when
implementing JavaClassFinder in reflection
2014-09-15 19:30:50 +04:00
Alexander Udalov
e9ae06a53e
Straighten out MemberIndex calculation in LazyJavaStaticScope
...
Also delete confusing "inn" function
2014-09-15 19:30:50 +04:00
Alexander Udalov
0cb7c08a7a
Minor, delete unneeded underscores from parameter names
2014-09-15 19:30:50 +04:00
Alexander Udalov
bc1d59a538
Add KotlinClassFinder#findKotlinClass(ClassId)
...
Will be used to load nested classes correctly at runtime
2014-09-15 19:30:50 +04:00
Alexander Udalov
c854b1d713
Unextend JavaAnnotationArgumentImpl from JavaElementImpl
2014-09-15 19:30:49 +04:00
Alexander Udalov
4c51368244
Rewrite JavaAnnotationArgument interfaces and implementations to Kotlin
2014-09-15 19:30:49 +04:00
Alexander Udalov
ec02382976
Assert that reference annotation argument is always an enum value
...
Rename JavaReferenceAnnotationArgument on that occasion to
JavaEnumValueAnnotationArgument. Also add a test on a nested enum annotation
argument
2014-09-15 19:30:49 +04:00
Alexander Udalov
13eeb18219
Delete "idea.properties"
...
Apparently it was committed by mistake and never used since then
2014-09-15 19:30:49 +04:00
Alexander Udalov
3822c48f30
Include additional IDE modules to "IDE" scope
...
- include modules "idea-analysis" and "ide-lazy-resolve"
- exclude all files starting from "idea" such as idea.properties, ideaSDK etc.
2014-09-15 19:30:49 +04:00
Andrey Breslav
f1cf446e10
KT-5773 Smart cast doesn't work with Nothing on the rhs of "?:"
...
#KT-5773 FIxed
2014-09-15 18:24:13 +04:00
Alexander Udalov
3a806713fd
Fix obscure typo in isEqual() in KotlinClassFileIndex
2014-09-12 21:18:24 +04:00