Dmitry Jemerov
18e54322b8
regression test for KT-4281
2015-03-04 17:27:55 +01:00
Dmitry Jemerov
a2e22c6d20
regression test for KT-3107
2015-03-04 17:24:58 +01:00
Dmitry Jemerov
155ce4221c
Merge branch 'rr/yole/j2k-convert-javadoc'
2015-03-04 17:14:52 +01:00
Evgeny Gerashchenko
3aa5f5200b
Incremental: fixed adding file to package and using it from Java
2015-03-04 18:59:21 +03:00
Evgeny Gerashchenko
02555478d7
Moved JsCallChecker.kt to valid package. Fixed compilation problem caused by the fact that package was present in multiple modules.
2015-03-04 18:59:20 +03:00
Dmitry Jemerov
9372339567
use a data class instead of a Pair<String, String>
2015-03-04 16:16:38 +01:00
Valentin Kipyatkov
4a29e968d0
Corrections on code review
2015-03-04 17:41:44 +03:00
Natalia Ukhorskaya
1928e5e9e5
Use android-plugin library for android-compiler plugin
2015-03-04 15:31:44 +03:00
Natalia Ukhorskaya
0391fbd764
Evaluate Expression: support anonymous objects evaluation
2015-03-04 12:42:59 +03:00
Pavel V. Talanov
f507af15c0
Rename in descriptors.proto: class_object_name -> default_object_name
2015-03-03 20:57:13 +03:00
Pavel V. Talanov
48fbce9582
Refactor: process mentions of class object
...
Rename usages that refer to "default object" concept now
Test data file names are left as is
2015-03-03 20:57:08 +03:00
Dmitry Jemerov
ac6a56761e
J2K: convert javadoc comments to kdoc
2015-03-03 18:31:30 +01:00
Valentin Kipyatkov
27f5d71e4f
Fixed bug in partial body resolve
2015-03-03 19:22:27 +03:00
Michael Bogdanov
db987eedee
Fix android compiler plugin classpath
2015-03-03 17:05:17 +03:00
Pavel V. Talanov
ac34f2188b
Prettify code in DeclarationResolver.kt
2015-03-03 14:54:42 +03:00
Pavel V. Talanov
9628d98f38
Convert to kotlin: DeclarationResolver.kt
2015-03-03 14:54:36 +03:00
Pavel V. Talanov
4a156c5c8c
Rename file: DeclarationResolver.java -> DeclarationResolver.kt
2015-03-03 14:54:25 +03:00
Dmitry Jemerov
cbb8df954c
Merge remote-tracking branch 'upstream/master'
2015-03-03 12:42:25 +01:00
Dmitry Jemerov
ff3cb27c8f
EA-65705 - ISE: KDocReference.getTargetDescriptors
2015-03-03 12:31:40 +01:00
Valentin Kipyatkov
33bc234f45
More clear code
2015-03-03 13:41:32 +03:00
Valentin Kipyatkov
5b4afa140b
Fixed bug in reference shortening related on on the fly import optimization
2015-03-03 13:41:32 +03:00
Valentin Kipyatkov
862d391da6
KT-6834 Optimize Imports: do not modify file if import list had not change
...
#KT-6834 Fixed
2015-03-03 13:41:32 +03:00
Valentin Kipyatkov
b0d82bef7d
Tested KT-2718 Package names that match Kotlin keywords should be escaped properly
2015-03-03 13:41:32 +03:00
Dmitry Jemerov
2cc291efdb
Standard library documentation continued.
2015-03-03 11:20:30 +01:00
Pavel V. Talanov
7cd68c70d2
Do not run unused symbol inspection on default objects for now
...
#KT-6872 Fixed
2015-03-03 13:04:33 +03:00
Pavel V. Talanov
4370b50841
Minor: change rendering of class objects' types in completion
2015-03-03 13:04:32 +03:00
Pavel V. Talanov
cbf9208c1d
Minor: change rendering of class objects in source code renderers
...
Fixes one particular case in completion
2015-03-03 13:04:32 +03:00
Pavel V. Talanov
cebe556d03
Minor: simplify code
2015-03-03 13:04:31 +03:00
Pavel V. Talanov
cc90891b6c
Minor: change rendering of class objects in some diagnostics
2015-03-03 13:04:31 +03:00
Pavel V. Talanov
989f07962b
Write to trace in case class qualifier is a short reference to default object
...
This allows to fix some cases when there is a difference between explicit and short reference to default object
Fix shorten reference, optimize imports and import insert helper for default objects
ShortenReferences always transforms default object references to shorter form for now
Fix DescriptorUtils#getFqName() for default objects (affects test data mostly)
Fix DescriptorUtils#getImportableDescriptor()
2015-03-03 13:04:30 +03:00
Pavel V. Talanov
7f672f8078
Minor: remove redundant class objects from project code
2015-03-03 13:04:30 +03:00
Pavel V. Talanov
b012b9d8a3
Stdlib: Move classes out of class object in FunctionalList
2015-03-03 13:04:29 +03:00
Pavel V. Talanov
ffabe19229
Prohibit accessing nested classes/objects of class object using class literal
...
The fqname of class should be clear from code
Example: can't shorten A.Default.B.Default.C to A.B.C
Also fixes problem when nested class of enum class could be accessed via enum entry
2015-03-03 13:04:29 +03:00
Pavel V. Talanov
86bbb117ef
Refactor: rework FilteredCollector in CallableDescriptorCollectors
...
Convert LibrarySourceHacks to Kotlin
2015-03-03 13:04:28 +03:00
Pavel V. Talanov
cceb5738c8
Can't omit default object name in imports and types
...
There should be only one way to denote a type (A.Default.B can't be denoted as A.B)
2015-03-03 13:04:28 +03:00
Pavel V. Talanov
640d2de5b9
Fix incorrect reference target for class literals in some cases
2015-03-03 13:04:27 +03:00
Pavel V. Talanov
88c5379424
Change importing rules for objects:
...
Allow importing classes from object, prohibit import-on-demand from objects
It's unclear what import-on-demand from object should mean so we prohibit it for now
2015-03-03 13:04:27 +03:00
Dmitry Jemerov
2e208c4294
revert incorrect deprecations
2015-03-02 22:16:52 +01:00
Dmitry Jemerov
f41a0a328f
don't deprecate AbstractIterator for now
2015-03-02 18:19:56 +01:00
Dmitry Jemerov
afafdb31ee
deprecate some legacy code in the standard library
2015-03-02 18:17:17 +01:00
Evgeny Gerashchenko
c63b9b9433
Merge pull request #576 from typeinference/file-template-for-object
...
File template for object
2015-03-02 20:31:40 +04:00
Dmitry Jemerov
595eacb099
remove incorrect JVM-specific note
2015-03-02 13:25:31 +01:00
Dmitry Jemerov
78cb983bd0
clarify docs
2015-03-02 13:02:00 +01:00
Dmitry Jemerov
417711f9e6
document InlineStrategy and InlineOptions
2015-03-02 12:52:52 +01:00
Dmitry Jemerov
f9fd0fd195
Merge branch 'rr/yole/kdocfinder-overridden'
2015-03-02 11:23:20 +01:00
Dmitry Jemerov
6e29829891
add test which reproduces the problem
2015-02-27 20:55:34 +01:00
Dmitry Jemerov
1684248e97
Fix retrieving documentation for overridden methods.
...
(The test doesn't actually reproduce the problem because it can't be done in a single-file setup, but it verifies that the basic functionality continues to work.)
2015-02-27 20:10:37 +01:00
Alexander Udalov
2c0830b017
Change synthetic accessor method names to "access$..."
...
As per discussion in https://youtrack.jetbrains.com/issue/KT-6870
2015-02-27 20:30:51 +03:00
Alexander Udalov
ac9e6cd9ca
Regenerate tests
2015-02-27 19:56:37 +03:00
Andrey Breslav
4c84b19b33
KT-5488 Invalid ambiguity between plus and plusAssign
...
#KT-5488 Fixed
2015-02-27 19:32:58 +03:00