Dmitry Jemerov
117a0d8b7b
compiler: cleanup 'public', property access syntax
2016-01-07 17:57:38 +01:00
Dmitry Jemerov
b72ea1ff07
ant: cleanup 'public', property access syntax
2016-01-07 17:53:32 +01:00
Dmitry Jemerov
e47e9f6763
inspection and code cleanup for redundant visibility modifiers
2016-01-05 13:31:43 +01:00
Dmitry Petrov
b736880787
KT-6646, KT-10482:
...
when a method (or a property getter) returns Nothing, emit
ACONST_NULL
ATHROW
after a call so that class files verifier knows that this is an exit point in a method.
Note that if an inline method returning Nothing throws an exception explicitly
(or via a chain of inline methods), this code will be deleted by DCE.
2015-12-31 11:07:56 +03:00
Nikolay Krasko
ffd1bcf72f
Update icons (KT-10516)
...
#KT-10516 Fixed
2015-12-30 17:26:34 +03:00
Nikolay Krasko
f9a6da05df
Add explicit type (local builds othen fail here)
2015-12-30 17:26:06 +03:00
Nikolay Krasko
0518c6f618
Set "No" as default button
2015-12-30 17:19:16 +03:00
Natalia Ukhorskaya
ad9303b97b
Support breakpoints in anonymous objects with usages of cross inline argument
2015-12-30 14:49:30 +03:00
Natalia Ukhorskaya
754b02aa3c
Fix EA-76946 - IOOBE: LineSet.checkLineIndex: do not try to get line start offset for line out off document
2015-12-30 14:49:29 +03:00
Natalia Ukhorskaya
0a6dbc91ae
Fix EA-75128 - KNPE: IdentifierKt.declarationIdentifier
2015-12-30 14:49:29 +03:00
Natalia Ukhorskaya
5c83e2ac5b
KotlinSyntheticTypeComponentProvider: catch UnsupportedOperationException
...
#KT-10526 Fixed
2015-12-30 14:49:28 +03:00
Natalia Ukhorskaya
36d154babf
Support breakpoints for inline function with cross inline argument
2015-12-30 14:49:27 +03:00
Natalia Ukhorskaya
c351293394
KotlinPositionManager: drop PositionElement, classNameForPosition now returns collection of names
2015-12-30 14:49:26 +03:00
Natalia Ukhorskaya
e8aef7d29e
Minor: move methods from companion object
2015-12-30 14:49:26 +03:00
Natalia Ukhorskaya
3678bda409
InlineUtil: extract method
2015-12-30 14:49:25 +03:00
Michael Bogdanov
1d70b58d17
Fixed test data
2015-12-30 14:42:12 +03:00
Michael Bogdanov
11268331a8
Added '@' for annotation names in diagnostic messages
2015-12-30 12:25:13 +03:00
Dmitry Petrov
74c13906ed
Drop "substitute with upper bounds" mode for calls with mapped arguments
...
(we don't need it since we build constraint system for generic types).
Cleanup tests.
2015-12-30 10:44:01 +03:00
Dmitry Petrov
4b3290dd8c
Check specificity relation for generant types of the constraint system.
...
Otherwise we can't properly chose between 'dynamic' and generic type.
2015-12-30 10:44:00 +03:00
Dmitry Petrov
c97294a066
stdlib fixes:
...
- 'sequence(initialValue: T?, ...)' should have LowPriorityInOverloadResolution
(otherwise 'sequence({...}, {...})' is ambiguous).
- 'copyOf' and 'copyOfRange' should be defined for 'Array<T>' only
('Array<out T>' version always loses to 'Array<T>', since the second one
is always more specific).
2015-12-30 10:44:00 +03:00
Dmitry Petrov
02daeac41b
Use constraint system for comparing for specificity against a generic signature.
...
Drop "discrimiate generics" mode where it's unneeded.
2015-12-30 10:44:00 +03:00
Alexey Sedunov
aeefdffaab
Implement Abstract Member Intention: Support primary constructor parameters
...
#KT-8427 Fixed
2015-12-30 00:56:34 +03:00
Alexey Sedunov
2b4f03feef
Implement Members Quick-Fix: Support primary constructor parameters
...
#KT-8427 In Progress
2015-12-30 00:56:34 +03:00
Alexey Sedunov
00cc9d4150
Specify Type Explicitly: Filter out types which can't be resolved in the target scope
...
#KT-10066 Fixed
2015-12-30 00:56:34 +03:00
Alexey Sedunov
21fd894d75
Create From Usage: Place caret at the end of initializer selection
...
#KT-10120 Fixed
2015-12-30 00:56:34 +03:00
Alexey Sedunov
c391882651
Minor: Fix NPE (EA-76742)
2015-12-30 00:56:34 +03:00
Alexey Sedunov
5b5e7fb9b7
'Change parameter type' Quick-Fix: Use Change Signature API
...
#KT-9812 Fixed
2015-12-30 00:56:34 +03:00
Alexey Sedunov
9180a99342
Convert to Kotlin: ChangeParameterTypeFix.java
2015-12-30 00:56:34 +03:00
Alexey Sedunov
3af7c7b57a
Convert to Kotlin: ChangeParameterTypeFix.java (rename to .kt)
2015-12-30 00:56:34 +03:00
Pavel V. Talanov
004c266433
Minor: fix missed error marker in test data
2015-12-29 18:13:10 +03:00
Ilya Gorbunov
0aef321c73
Cleanup in idea plugin, src and tests
2015-12-29 18:04:24 +03:00
Ilya Gorbunov
145722b20d
Cleanup in idea plugin modules, misc
2015-12-29 18:04:23 +03:00
Ilya Gorbunov
865fdd7962
Cleanup in idea plugin modules, idea-core
2015-12-29 18:04:22 +03:00
Ilya Gorbunov
6ffc407158
Cleanup in idea plugin modules, idea-completion
2015-12-29 18:04:21 +03:00
Ilya Gorbunov
be590312f7
Cleanup in idea plugin modules, idea-analysis
2015-12-29 18:04:20 +03:00
Ilya Gorbunov
bce9514739
Cleanup in idea plugin modules, ide-common
2015-12-29 18:04:19 +03:00
Ilya Gorbunov
fcfb063eca
Cleanup in modules: j2k, jps, ant and generators.
2015-12-29 18:04:18 +03:00
Ilya Gorbunov
da4b1ae0fb
Cleanup in js modules
2015-12-29 18:04:16 +03:00
Ilya Gorbunov
80916d5ed7
Cleanup in compiler modules
2015-12-29 18:04:15 +03:00
Ilya Gorbunov
911adfd04d
Cleanup in core modules
2015-12-29 18:04:14 +03:00
Ilya Gorbunov
b71b336a69
Fix fq names of moved facade classes in imports and other code occurrences
2015-12-29 18:04:13 +03:00
Nikolay Krasko
f9944e28b0
Show full library panel. Add warning on attempt to create project without library.
2015-12-29 18:01:15 +03:00
Michael Bogdanov
d54c3f4fc7
Added '@' to annotation names in diagnostic messages
2015-12-29 17:20:16 +03:00
Michael Bogdanov
91f27ba176
Report error on 'JvmStatic' annotation on const or @JvmField property
...
#KT-10415 Fixed
2015-12-29 17:20:07 +03:00
Michael Bogdanov
ae4ca3b5bb
Report JvmStatic diagnostic on primary constructor properties
2015-12-29 16:45:24 +03:00
Michael Bogdanov
bb63bcd520
Removed obsolete tests
2015-12-29 16:45:24 +03:00
Michael Bogdanov
e671d05105
Companion public val annotated with @JvmFIeld or const
2015-12-29 16:45:23 +03:00
Michael Bogdanov
e116cc3206
Private visibility for non-const, non-jvmField class companion property backing field
2015-12-29 16:45:22 +03:00
Michael Bogdanov
85ae0cb78e
Restrict companion properties copying to interface by const
2015-12-29 16:45:22 +03:00
Pavel V. Talanov
6f0c2a0260
Project configuration: Add source directories for kotlin builtIns to KotlinRuntime
2015-12-29 15:57:02 +03:00