Dmitry Jemerov
ef095dd559
better filtering of elements in KDoc link completion
2015-07-31 19:17:21 +02:00
Dmitry Jemerov
969f702a70
force resolve doesn't seem to be necessary
2015-07-31 19:07:47 +02:00
Dmitry Jemerov
df1a72e107
since BuiltInsReferenceResolver is initialized on-demand, we can't use async initialization
2015-07-31 19:07:46 +02:00
Dmitry Jemerov
d6455ebfd8
BuiltInsReferenceResolver: avoid premature initialization, more cleanup
...
#KT-8631 Fixed
2015-07-31 19:07:45 +02:00
Dmitry Jemerov
1c3f30bd8e
BuiltInsReferenceResolver: cleanup and convert to service
2015-07-31 19:07:44 +02:00
Dmitry Jemerov
79bbb820bd
BuiltInsReferenceResolver: J2K
2015-07-31 19:07:43 +02:00
Dmitry Jemerov
13a8f86049
BuiltInsReferenceResolver: rename to .kt
2015-07-31 19:07:42 +02:00
Denis Zharkov
f850ff9d39
Minor. Fix compilation after raw types introduction
...
- Condition parameter loaded as SAM-adapter
- Use wildcards instead of raw
2015-07-31 17:33:21 +03:00
Denis Zharkov
6b92f67eac
Load raw types as platform with specific bounds
...
Raw(A<T_i>) = (A<UP(T_i)>..A<*>)
Raw types have specific scopes that behaves like JVM signature erasure
2015-07-31 17:33:21 +03:00
Denis Zharkov
5b07eea1b9
Prevent recursion when processing star projection
2015-07-31 17:33:21 +03:00
Denis Zharkov
37420527f2
Add substitution concept into JetType
...
In most cases it's just a map { Parameter_i => Argument_i }
Will be used when loading Raw types from Java.
Also add ClassDescriptor.getMemberScope by substitution.
2015-07-31 17:33:21 +03:00
Denis Zharkov
557450677f
Rename, convert and optimize CompositeTypeSubstitution
...
- Get rid of storing array of inner substituions
- Rename is important as it wasn't actually composition
2015-07-31 17:33:21 +03:00
Denis Zharkov
70bf4d2faf
J2K: rename CompositeTypeSubstitution.java -> DisjointKeysUnionTypeSubstitution.kt
2015-07-31 17:33:21 +03:00
Denis Zharkov
465ed9973f
Minor. Make DeserializedType subclass of AbstractLazyType
2015-07-31 17:33:21 +03:00
Denis Zharkov
a07a1829c5
Rework TypeSubstituion, now it applies to types instead of constructors
...
Also introduce IndexedParametersSubstitution
2015-07-31 17:33:21 +03:00
Denis Zharkov
1aef9b77f1
J2K TypeSubstitution: Convert
2015-07-31 17:33:20 +03:00
Denis Zharkov
d762155e36
J2K TypeSubstitution: .java -> .kt
2015-07-31 17:33:20 +03:00
Denis Zharkov
0fba28a8f0
Do not retrieve parent of FQname for root
...
#KT-8642 Fixed
2015-07-31 17:33:20 +03:00
Denis Zharkov
8b537bc6dd
Minor. Get rid of raw types in upper bounds
2015-07-31 17:33:20 +03:00
Michael Nedzelsky
2adf1e0e96
add ProtoBugCompareConsistencyTest
2015-07-31 16:51:24 +03:00
Michael Nedzelsky
31d5ec2370
minor: GenerateProtoBuf: get rid of weak warnings, add a reminder about GenerateProtoBufCompare.
2015-07-31 16:51:20 +03:00
Dmitry Jemerov
8ef5adb5bd
remove usages of ant-contrib from Ant build scripts
2015-07-31 14:26:57 +02:00
Sergey Mashkov
0e25a5ea82
JS: arrayToString should use toString() instead of direct join to handle nulls properly
...
#KT-8663 Fixed
2015-07-31 14:28:30 +03:00
Sergey Mashkov
2826f193dd
AbstractCollection should use Kotlin.toString
...
#KT-8662 Fixed
2015-07-31 14:28:30 +03:00
Ilya Gorbunov
81cbbad1e5
Add test comparing behavior of a reversed list and a reversed view on a list.
2015-07-31 14:28:29 +03:00
Sergey Mashkov
8a0c752f99
KT-4844 Support asReversed() for lists
2015-07-31 14:28:29 +03:00
Dmitry Jemerov
f86bb119bb
download ProGuard from Artifactory
2015-07-31 13:18:11 +02:00
Sanket Dasgupta
b82ba117cc
update readme.md to include try.kotlinlang.org
2015-07-31 13:24:27 +03:00
Alexander Udalov
0ad9dc9abf
Specification for function type reform
2015-07-30 23:06:06 +03:00
Sergey Mashkov
8353b4d3e8
Maven: integration test should remove escape sequences from build log
2015-07-30 19:20:30 +03:00
Valentin Kipyatkov
196cecfe70
Fixed exception
2015-07-30 18:02:54 +03:00
Valentin Kipyatkov
422a9613f1
More correct detection of real methods to override
2015-07-30 18:02:54 +03:00
Valentin Kipyatkov
a4c9aa43a5
Experimental feature to show properties in completion after prefix with "get" or "set"
2015-07-30 18:02:54 +03:00
Dmitry Jemerov
23dca520d5
ensure that a JetEnumEntry is equivalent to a KotlinLightEnumConstant
...
#KT-5057 Fixed
2015-07-30 16:36:18 +02:00
Michael Nedzelsky
194aa57c07
add call to GenerateProtoBufCompare at the end of GenerateProtoBuf
2015-07-30 16:35:56 +03:00
Natalia Ukhorskaya
2b19f58d3f
Change since for plugin, because of usage of SourcePositionHighlighter in debugger
2015-07-30 15:53:47 +03:00
Alexander Udalov
9991d45a15
Fix maven plugin test, properties -> memberProperties
2015-07-30 15:19:43 +03:00
Dmitry Jemerov
ee42da48e1
support multideclarations in Select Word
...
#KT-6833 Fixed
2015-07-30 13:53:03 +02:00
Dmitry Jemerov
e545a7c699
add word selection step for selecting a type parameter or type argument list with enclosing brackets
...
#KT-6697 Fixed
2015-07-30 13:52:56 +02:00
Dmitry Jemerov
77caa0d644
highlight Kotlin files with errors in project view
...
#KT-8609 Fixed
2015-07-30 13:34:27 +02:00
Dmitry Petrov
8b73ffd25b
EA-71185 - assert: CallResolverUtilPackage$CallResolverUtil$fcfb.hasUnknownReturnType
...
- Accept any subclasses of KCallable<R> as "callable reflection types"
(this includes KProperty and KFunction with their subclasses).
- Provide more detailed information on the callable reference type in question in case of assertion failures.
2015-07-30 13:44:50 +03:00
Dmitry Petrov
9bf0211152
KT-8408 Prohibit Array<T>::class for non-reified T
2015-07-30 12:18:29 +03:00
Alexander Udalov
a0cc313156
Support class reference expression for reified type parameters
...
Also make KClass::java an intrinsic property.
Based on the work by @dnpetrov
#KT-6976 Fixed
2015-07-30 12:18:28 +03:00
Alexander Udalov
628bb774fd
Support class reference expressions without kotlin-reflect.jar in classpath
...
Currently not much you can do with them, but in the future '.java' extension
property will allow to get the Class instance from it.
Also introduce codegen tests with stdlib but without reflection in the
classpath.
Based on the work by @dnpetrov
2015-07-30 12:18:28 +03:00
Andrey Breslav
0b30758987
Specification for annotation options (initial version).
...
target, retention, repeatable, documented. 'annotation' is an annotation declared in kotlin.annotation.
'target' is also an annotation with vararg argument. All others are 'annotation' properties.
2015-07-30 12:00:27 +03:00
Dmitry Jemerov
6d1ccc22ab
reduce vertical whitespace in rendered KDoc comments
2015-07-30 10:38:16 +02:00
Dmitry Jemerov
b483713f2c
Render code blocks in KDoc
2015-07-30 10:38:15 +02:00
Dmitry Jemerov
909d094896
Fixed rendering of line breaks and apostrophes in KDoc
...
#KT-8531 Fixed
#KT-8392 Fixed
2015-07-30 10:38:14 +02:00
Natalia Ukhorskaya
ff0a064908
Debugger: Implement SourcePositionHighlighter to highlight lambda expressions during debug
2015-07-30 10:00:27 +03:00
Natalia Ukhorskaya
ad6611b930
J2K: If last expression in Method Call is Lambda add it outside the parenthesis
2015-07-30 10:00:26 +03:00