Valentin Kipyatkov
1941572717
KT-10433 Copy-pasting reference to companion object member causes import dialog in specific case
...
#KT-10433 Fixed
2016-07-04 20:49:40 +03:00
Valentin Kipyatkov
0c367c6e08
Added missing test data
2016-05-11 19:52:31 +03:00
Valentin Kipyatkov
70a5540c00
Minor changes after code review
2016-05-10 18:24:22 +03:00
Valentin Kipyatkov
cca3237e46
KT-4727 J2K: Convert Java code copied from browser or other sources
...
#KT-4727 Fixed
2016-05-10 18:24:21 +03:00
Valentin Kipyatkov
92af610322
KT-12045 J2K: creating Object() instance could be converted to Any()
...
#KT-12045 Fixed
2016-04-29 18:13:53 +03:00
Valentin Kipyatkov
76e067c43a
KT-12054 J2K generates obj is Type<Any> instead of obj is Type<*>
...
#KT-12054 Fixed
2016-04-29 18:13:53 +03:00
Valentin Kipyatkov
1535e8ad90
KT-11955 Copy/Paste inserts FQ-name
...
#KT-11955 Fixed
2016-04-20 14:30:54 +03:00
Alexander Udalov
8316953259
Fix double quotes in diagnostic messages
...
For diagnostics without any parameters, the given text is simply rendered as a
String, so no symbols should be escaped.
For diagnostics with parameters, the format in java.text.MessageFormat is used,
so one single quote is erased and two single quotes become one single quote in
the rendered text.
2016-03-30 21:41:43 +03:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
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