Commit Graph

27120 Commits

Author SHA1 Message Date
Dmitry Petrov a76fb328cb Dropping package facades:
- fix testData for 'move' tests
(NB regression in **/onDemandStaticImport.java, see: https://youtrack.jetbrains.com/issue/KT-9624)
2015-10-19 16:03:20 +03:00
Dmitry Petrov 31a85132c6 Dropping package facades:
- use KotlinCodegenFacade to build light classes
(PackageCodegen is not enough to obtain proper diagnostics)
2015-10-19 16:03:19 +03:00
Dmitry Petrov 9de45f4c56 Dropping package facades:
- add @Deprecated kotlin.internal.InternalPackage to runtime
(for compatibility with older Kotlin code)
2015-10-19 16:03:19 +03:00
Dmitry Petrov 8ab55813fe Dropping package facades:
- clashing JVM signature diagnostics should be reported in stable order
- drop tests for clashes vs package facades
- introduce box test for class named as old package facade
- fix some testData
2015-10-19 16:03:19 +03:00
Dmitry Petrov 014bcfeb15 Dropping package facades: JetPositionManager should use file class 2015-10-19 16:03:19 +03:00
Dmitry Petrov 6b2b64e438 Drop package facades: fix evaluation tests 2015-10-19 16:03:19 +03:00
Dmitry Petrov dc399ac46b Drop package facades: get rid of isPackageClassFqName 2015-10-19 16:03:18 +03:00
Pavel V. Talanov 12d5aca9d6 Fix test data for safe delete test
(cherry picked from commit 25f363d)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov 50ff146865 Fix test data for reference resolve in java test
(cherry picked from commit fcfe51a)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov ba84214bd0 Fix test data for rename test
(cherry picked from commit aee4f25)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov e578caaed2 Fix test data for move test
Tests do not pass after this change
(cherry picked from commit d4437d7)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov 2e1967eb84 Fix test data for change signature test
(cherry picked from commit 8d420f1)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov fd893ba499 Fix test data for reconcile package with directory test
(cherry picked from commit b926e02)
2015-10-19 16:03:17 +03:00
Pavel V. Talanov abca7107a7 Fix test data for convert function/property to property/function test
(cherry picked from commit e78c26a)
2015-10-19 16:03:17 +03:00
Pavel V. Talanov c2bc1280d3 Fix test data for call hierarchy test
(cherry picked from commit 0145cc4)
2015-10-19 16:03:17 +03:00
Pavel V. Talanov 5cf1417511 Fix test data for quick doc test
(cherry picked from commit 57589e3)
2015-10-19 16:03:17 +03:00
Pavel V. Talanov 9b7f22d2c7 Fix ClsStubConsistencyTest: it didn't do anything after some previous changes
(cherry picked from commit f5af9fc)
2015-10-19 16:03:17 +03:00
Pavel V. Talanov bb77890a4e Drop DeprecatedFacadeUsageInspection
(cherry picked from commit f18b95d)
2015-10-19 16:03:17 +03:00
Pavel V. Talanov 93bb010875 Drop decompiledText/clsStub tests for package facades
(cherry picked from commit fbaa81c)
2015-10-19 16:03:16 +03:00
Pavel V. Talanov 3a34dc0efe minor: fixes in test data
(cherry picked from commit 6ea4fbd)
2015-10-19 16:03:16 +03:00
Dmitry Petrov d19ce49606 Dropping package facades:
- do not depend on package facade in LazyJavaPackageFragment
2015-10-19 16:03:16 +03:00
Dmitry Petrov 149e70aa07 Dropping package facades:
- light classes: do not generate light class for package facade
- drop package facades as multifile classes compilation mode support
- get rid of some additional package facade fqName usages
- update tests for light classes
2015-10-19 16:03:16 +03:00
Dmitry Petrov e7fb7483c5 Drop package facades: update compiler tests. 2015-10-19 16:03:16 +03:00
Dmitry Petrov 3502c393fc Drop package facades: JVM BE tests passed. 2015-10-19 16:03:16 +03:00
Ilya Gorbunov a59cb22bc6 Update testdata for LoadBuiltinsTest 2015-10-19 15:37:44 +03:00
Ilya Gorbunov 078d904d41 Deprecated ranges: relax errors to warnings. 2015-10-19 15:37:42 +03:00
Ilya Gorbunov 69dc6701cc Deprecate Double, Float and Comparable range implementations. 2015-10-19 15:37:41 +03:00
Pavel V. Talanov aeb4abe39d Fix decompiled text for named companion object
Fix stub/ast mismatch for compiled named companion objects
Add tests
2015-10-19 15:27:49 +03:00
Pavel V. Talanov d74a989d93 Tweak light classes to avoid computing stubs on certain api calls
Should speed up completion from java for certain cases
2015-10-19 15:27:48 +03:00
Mikhail Glukhikh 8d88109c00 Underscore names are now forbidden 2015-10-19 15:24:45 +03:00
Mikhail Glukhikh f61aa18a05 Code cleanup: get rid of _ (mostly renamed to arg) 2015-10-19 15:24:42 +03:00
Mikhail Glukhikh 059175560c No __ as lambda parameter 2015-10-19 15:24:39 +03:00
Mikhail Glukhikh 14e38ff6d4 data deprecations cleanup: reserved word tests fixed 2015-10-19 15:24:36 +03:00
Mikhail Glukhikh a4af6a3076 data deprecations (empty constructors, non val/var arguments, vararg, superclasses) are now errors, relevant tests fixed 2015-10-19 15:24:28 +03:00
Mikhail Glukhikh cae0388a57 Code cleanup: data deprecations and some effective visibility stuff 2015-10-19 15:24:22 +03:00
Alexander Udalov a501878d60 Workaround circular dependency of KProperty1 and KClassImpl
This appeared after introduction of KProperty in delegated property convention
methods. If a KProperty1 instance is created while constructing a KClassImpl
instance before assigning the 'jClass' field, an NPE is thrown because the
constructor of that KProperty1 instance tries to lookup the declaring class of
the property, which in some case happens to be the exact KClassImpl we're
constructing. No test added because I was not able to reproduce the behavior in
an isolated environment
2015-10-19 15:20:20 +03:00
Valentin Kipyatkov d0f318d7db Fixed bug in completion with double insertion of "::class.java" 2015-10-19 15:10:21 +03:00
Svetlana Isakova 499ca02615 Changed retention to 'binary' for LowPriorityInOverloadResolution 2015-10-19 14:58:02 +03:00
Ilya Chernikov ab3cfc3454 Adding property to enforce daemon shutdown, dropping unnecessary inheritance of the CompilerServiceImpl from UnicastRemoteObject, because manual control is used
(cherry picked from commit 182a231)
(cherry picked from commit eecd953)
2015-10-19 13:32:20 +02:00
Ilya Chernikov 16817f47e9 Removing dependency of kotlin plugin from daemon client (kotlinr), it should only depend on rmi-interface
(cherry picked from commit 01309eb)
(cherry picked from commit ed91190)
(cherry picked from commit da54faf)
2015-10-19 13:32:19 +02:00
Svetlana Isakova 514a1dea57 Changed test for 'LowPriorityInOverloadResolution' annotation 2015-10-19 14:15:06 +03:00
Svetlana Isakova cb34498278 Check nullability in initial constraints
except constraints for receiver type (it can be accessed via safe call)
2015-10-19 14:15:06 +03:00
Svetlana Isakova bb9f7094e0 Report 'TYPE_INFERENCE_EXPECTED_TYPE_MISMATCH'
on call element, not on callee expression
2015-10-19 14:15:05 +03:00
Svetlana Isakova 4c85b69c88 Report type inference error
when inference failed with 'NoInfer' annotation
2015-10-19 14:15:05 +03:00
Zalim Bashorov 5ab3dd1716 Minor: do simpler check first 2015-10-19 14:01:59 +03:00
Yan Zhulanow b2470a6aad Report warning on unary plus()/minus() 2015-10-19 11:51:54 +03:00
Nikolay Krasko 58cbf09232 Refactoring: collect all annotation presentation data in one place 2015-10-19 11:30:50 +03:00
Nikolay Krasko 4adcf3f114 Refactoring: return not-null from doCreateActions() 2015-10-19 11:30:49 +03:00
Nikolay Krasko 9ef8370871 Allow to create quickfix multifile tests in single file
It simplifies creating new tests
2015-10-19 11:30:47 +03:00
Nikolay Krasko 573738c87e Refactoring: extract name highlighting to separate class 2015-10-19 11:30:44 +03:00