Natalia Ukhorskaya
a520e93b5b
J2K: don't automatically convert Java code when pasting to a string literal in Kotlin
...
#KT-7759 Fixed
2015-12-17 11:11:19 +03:00
Alexander Udalov
239502368a
Update test data for tower resolution algorithm
...
- locals win
- unary calls to plus/minus are not supported in favor of unaryPlus/unaryMinus
- unqualified nested classes are temporarily reported as unresolved
- function without receiver win against extension function
- explicit import win against star import
2015-12-11 17:01:02 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Valentin Kipyatkov
bf99f91d83
Fixed EA-75877
2015-11-20 16:06:34 +03:00
Dmitry Jemerov
736b496f6a
drop deprecated @platformName and @platformStatic annotations
2015-11-02 17:00:44 +01:00
Dmitry Petrov
d060687775
Package vs class conflict in qualifier resolution:
...
- add test for unresolved 'a.a' after 'import a.a';
- added TODO in copy-paste test for 'a.a'
2015-11-02 10:22:50 +03:00
Dmitry Petrov
829fc6938a
KT-9547: private package member can conflict only with the members
...
declared in the same file.
Cleanup OverloadUtil stuff.
Update testData.
2015-10-22 10:45:49 +03:00
Valentin Kipyatkov
1730069d5e
Corrected implementation of DeclarationDescriptor.canBeReferencedViaImport() to include object members
2015-10-19 18:40:13 +03:00
Valentin Kipyatkov
dc909ac166
J2K: coversion of specially mapped built-in methods + replacing "get" with "[]" where possible
2015-10-19 09:43:11 +03:00
Alexander Udalov
6a965c9a06
Update IDE tests to use KProperty instead of PropertyMetadata
2015-10-14 20:45:55 +03:00
Valentin Kipyatkov
d728417f7f
Fixed KT-9496 FQ-class name inserted in type argument on copy/paste
...
#KT-9496 Fixed
2015-10-13 19:13:22 +03:00
Yan Zhulanow
1f2b4e20fe
Replace get() and set() to getValue() and setValue() (property delegates)
2015-10-09 22:49:16 +03:00
Zalim Bashorov
073b10072a
Minor: fix testdata
2015-10-01 14:57:26 +03:00
Stanislav Erokhin
8a0f175135
Minor. Suppressed test for KT-9204.
2015-09-18 21:00:23 +03:00
Stanislav Erokhin
8efbf4fc32
Fixed testdata -- removed package import
2015-09-18 21:00:20 +03:00
Valentin Kipyatkov
0cc2158ec1
J2K: do not produce redundant "internal" words for members in an internal class
2015-09-18 15:44:19 +03:00
Valentin Kipyatkov
7caccd7578
J2K: all annotations should be with "@"
2015-09-18 15:44:18 +03:00
Valentin Kipyatkov
c3ddd5d32b
J2K: adapted for default visibility modifier 'public'
2015-09-18 15:44:18 +03:00
Michael Nedzelsky
68c6c7790a
fix tests in org.jetbrains.kotlin.idea.codeInsight
2015-09-08 02:05:15 +03:00
Denis Zharkov
952d45dc8b
Deprecate JVM platform annotations in favor of capitilized themselves
2015-09-04 18:19:31 +03:00
Denis Zharkov
26f9bd7b63
Deprecate some of JVM flag annotations in favor of capitilized themselves
2015-09-04 18:19:31 +03:00
Natalia Ukhorskaya
03097d3453
J2K: Idea doesn't proposed to insert imports on copy-paste if explicit import was inserted
...
#KT-8738 Fixed
2015-08-24 12:37:31 +03:00
Dmitry Jemerov
341f09afd3
rename platformStatic to jvmStatic
2015-08-21 16:59:05 +02:00
Alexey Sedunov
3134e58251
J2K Converter: Add copy/paste tests for references in extends/implements clauses
2015-08-17 20:28:11 +03:00
Valentin Kipyatkov
f658cce1f1
KT-8176 References to type arguments are not resolved when number of them does not match type parameters
...
KT-8078 FQ-name inserted on class name completion in type arguments
#KT-8176 Fixed
#KT-8078 Fixed
2015-08-11 13:21:56 +03:00
Mikhail Glukhikh
022e7d1169
Deprecated enum syntax removed: most idea tests
2015-08-10 16:24:16 +03:00
Natalia Ukhorskaya
22ee063269
Add platformStatic annotation to main method from java
...
#KT-8219 Fixed
2015-07-30 10:00:24 +03:00
Ilya Gorbunov
4de5dd9aeb
Drop deprecated FunctionalList, FunctionalQueue.
...
Remove dependency on FunctionalList from tests.
2015-07-15 17:45:56 +03:00
Valentin Kipyatkov
e9b4045eac
Fixed test data
2015-07-06 16:48:50 +03:00
Denis Zharkov
c9f79c2d05
Adjust testData: get rid of obsolete annotations
2015-06-12 09:23:31 +03:00
Valentin Kipyatkov
002312f98a
Import of KClass inserted when needed on conversion to Kotlin on paste
2015-05-28 00:17:04 +03:00
Valentin Kipyatkov
f687a40136
Conversion to Kotlin on paste: supported for annotation
2015-05-28 00:17:04 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Valentin Kipyatkov
965f3da2b1
Fixed bug with bad conversion on paste when top-level java class copied
2015-04-13 11:05:31 +03:00
Valentin Kipyatkov
498f24b98b
KT-7291 Copy/paste of java declaration with preceding comment omitted does not convert it to Kotlin propertly
...
#KT-7291 Fixed
2015-04-09 19:09:09 +03:00
Valentin Kipyatkov
bfadd489a3
Imports on paste tests: generate result if does not exist and use default target file text
2015-04-09 19:09:09 +03:00
Valentin Kipyatkov
4a3592be50
Imports on paste: don't try to import symbols not visible from current module
2015-04-09 19:09:09 +03:00
Valentin Kipyatkov
ea7732883e
Tests: use errors dump instead of ALLOW_UNRESOLVED_REFERENCE
2015-04-09 19:09:08 +03:00
Valentin Kipyatkov
84a6f72ab3
Imports on paste: fixed overloaded extensions import
2015-04-09 19:09:08 +03:00
Valentin Kipyatkov
8d31a5c3a6
Imports on paste: do not suggest to import already imported extensions
2015-04-09 19:09:08 +03:00
Valentin Kipyatkov
93f1210f25
Imports on paste: added checking of symbols to import into test + fixed bug on copy/paste import/package directive
2015-04-09 19:09:08 +03:00
Valentin Kipyatkov
bf0798ca86
Added test
2015-04-07 00:00:29 +03:00
Valentin Kipyatkov
506f84fb8a
KT-5959 Imports should be inserted on paste from java with conversion to Kotlin
...
#KT-5959 Fixed
2015-04-07 00:00:29 +03:00
Valentin Kipyatkov
d0637ccaf4
Conversion from Java on paste: post processing of code really works
2015-04-07 00:00:28 +03:00
Valentin Kipyatkov
2227452e7a
KT-5203 Do not offer to convert from java on paste if conversion is trivial
...
#KT-5203 Fixed
2015-04-07 00:00:28 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +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
Valentin Kipyatkov
0a363fc371
Import is placed in some specific order on adding
2015-02-19 11:07:02 +03:00
Valentin Kipyatkov
20cf100714
Shorten references inserts imports for global functions and properties too
2015-02-19 11:07:01 +03:00