Commit Graph

9222 Commits

Author SHA1 Message Date
Alexander Udalov a0caa88adf Report ILLEGAL_MODIFIER on inappropriate 'inner' keyword usage
#KT-1174 In Progress
2013-01-16 23:11:44 +04:00
Alexander Udalov 0a1907de11 Check all modifiers for objects
DeclarationsChecker didn't check visibility modifiers for objects
2013-01-16 23:11:43 +04:00
Alexander Udalov 7a3000ccac Forbid usage of outer's generic parameter in nested class
#KT-1174 In Progress
2013-01-16 23:11:42 +04:00
Alexander Udalov 43c37398af Labeled this & super to nested class' outer is an error
#KT-1174 In Progress
2013-01-16 23:11:42 +04:00
Alexander Udalov 5d92453532 Inaccessible outer class member is now an error
#KT-1174 In Progress
2013-01-16 23:11:41 +04:00
Alexander Udalov e76abcb625 Add ClassDescriptor.isInner()
Implement in resolve & lazy resolve; place a stub in resolve-java

 #KT-1174 In Progress
2013-01-16 23:11:40 +04:00
Alexander Udalov 84e4611d2b Add 'inner' keyword
Support for the keyword in PSI and stubs

 #KT-1174 In Progress
2013-01-16 23:11:39 +04:00
Alexander Udalov 949f5ed834 JetSimpleNameExpression's name is not null
Modify usages accordingly
2013-01-16 23:11:39 +04:00
Alexander Udalov 173dfc4811 Fix kotlin-maven-plugin compilation 2013-01-16 23:09:17 +04:00
Alexander Udalov e97b65801b Fix stdlib tests compilation 2013-01-16 22:18:14 +04:00
Alexander Udalov 047db78104 Fix failing build, add imports 2013-01-16 21:21:43 +04:00
Evgeny Gerashchenko abaa450917 Moved JVM-specific String functions filter(), map(), etc to StringsJVM.kt 2013-01-16 20:32:24 +04:00
Evgeny Gerashchenko 8f78ee851b Fixed typo in comment. 2013-01-16 19:08:13 +04:00
Yuri Samsoniuk b9e07eb645 [KT-1859] Added collection like extension methods to String. 2013-01-16 19:03:49 +04:00
Natalia.Ukhorskaya 37b12bff2e Vararg in constructor isn't loaded correctly from bytecode
#KT-3251 Fixed
2013-01-16 17:59:35 +04:00
Evgeny Gerashchenko 6574eca393 Fixed test after introducing new warning. 2013-01-16 15:58:02 +04:00
Evgeny Gerashchenko 739acbcf01 Fixed test by topologically sorting classes in OverrideResolver. 2013-01-16 15:58:02 +04:00
Andrey Breslav 44580406ec Artifact archive renamed from "kotlin-${build.number}.zip" to "kotlin-compiler-${build.number}.zip"
This makes it possible to write artifact wildcards in dependent TeamCity builds
2013-01-16 15:44:27 +04:00
Andrey Breslav cb3a1352e4 Merge pull request #156 from crazyproger/KT-614
KT-614 Emit a warning when non-null type is checked for instance of nullable type
2013-01-16 02:12:47 -08:00
Vladimir Rudev 47f6af8e42 KT-1916 Highlight matching items when searching in Override/Implement dialog
#KT-1916 Fixed
2013-01-16 13:38:16 +04:00
Natalia.Ukhorskaya 95e05d7d97 Android: Ignore kt3238.kt in Anroid Tests 2013-01-16 12:25:09 +04:00
Vladimir Rudev 290681ceee KT-614 Emit a warning when non-null type is checked for instance of nullable type
#KT-614 Fixed
2013-01-15 23:44:20 +04:00
Natalia.Ukhorskaya 65f1efb921 Add JetPackageClass annotation 2013-01-15 19:45:07 +04:00
Natalia.Ukhorskaya 47abdcf565 Rename namespace class to {package.name}Package
Conflicts:

	compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Natalia.Ukhorskaya 0f2fa6bade Fix completion for top level non-imported functions 2013-01-15 19:45:04 +04:00
Evgeny Gerashchenko fe685633b0 KT-3137 Support Darcula editor scheme
#KT-3137 fixed
2013-01-15 19:41:42 +04:00
Evgeny Gerashchenko b0e9e7b5e7 Updated to IDEA 12.0.2. 2013-01-15 19:41:42 +04:00
Evgeny Gerashchenko 21fa647983 Added load java test with deep Java-Kotlin subclassing. 2013-01-15 19:41:41 +04:00
Evgeny Gerashchenko 8d9acc2662 Manually creating environment. 2013-01-15 19:41:41 +04:00
Evgeny Gerashchenko bbab0eebae Highlighting variable called as function. 2013-01-15 19:41:41 +04:00
Evgeny Gerashchenko 8fbc71df8a Invoke doTestWithInfos in corresponding test cases. 2013-01-15 19:41:41 +04:00
Evgeny Gerashchenko 849aaaf5d2 Reverted optimizing imports in auto-generated file. 2013-01-15 19:41:41 +04:00
Evgeny Gerashchenko b1847698a8 Better jar names for runtime/builtins/jdk-annotations in tests. 2013-01-15 19:41:41 +04:00
Evgeny Gerashchenko b1fd1d8301 KT-3200 wrong Kotlin signature java.util.concurrent.ThreadFactory java.lang.Thread newThread(java.lang.Runnable)
Added checking for compatibility of IDEA's and Kotlin's JDK annotations.

 #KT-3200 fixed
2013-01-15 19:41:41 +04:00
Nikolay Krasko fa08289706 Refactoring: remove warning and use constant 2013-01-15 19:07:15 +04:00
Nikolay Krasko 303a613389 Remove unused package declaration provider 2013-01-15 19:07:10 +04:00
Nikolay Krasko 1263919e39 Test for property from top level object
#KT-3187 Fixed
2013-01-15 19:06:53 +04:00
Nikolay Krasko d14f382db9 Collect getting psi classes in PsiClassFinder
#KT-3187 In Progress
2013-01-15 18:12:35 +04:00
Nikolay Krasko 5989bed5c7 Refactor message for property component overwrite
#KT-3187 In Progress
2013-01-15 18:12:34 +04:00
Andrey Breslav 9e45eb7326 Temporarily disable failing tests 2013-01-15 16:39:31 +04:00
Andrey Breslav 05cf9041af Tests to make sure that light classes compute the data properly 2013-01-15 15:32:06 +04:00
Andrey Breslav 8c8accad42 Returning containing file without computing the stub 2013-01-15 15:32:05 +04:00
Andrey Breslav 0ad48a3598 LightClassGenerationStrategy removed 2013-01-15 15:32:05 +04:00
Andrey Breslav fb1f863098 Using light PsiTypeParameters instead of building a stub:
This is needed when Java resolved references to Kotlin classes: in order to resolve a reference it needs to know type parameters
2013-01-15 15:32:05 +04:00
Andrey Breslav 1a03850951 A test for K-J-K inheritance with generics 2013-01-15 15:32:04 +04:00
Andrey Breslav d4854c22c4 A test for K-J-K inheritance 2013-01-15 15:32:04 +04:00
Andrey Breslav eb06ac948b The case of no modifiers on a class supported in KotlinLightClassForExplicitDeclaration 2013-01-15 15:32:03 +04:00
Andrey Breslav b039c69952 Class object members supported in PsiCodegenPredictor 2013-01-15 15:32:03 +04:00
Andrey Breslav 9d9580d4af Traces fixed in SubclassingKotlinInJavaTest 2013-01-15 15:32:03 +04:00
Andrey Breslav 7f051e38e5 toString() for KotlinLightClassForExplicitDeclaration 2013-01-15 15:32:02 +04:00