Commit Graph

26615 Commits

Author SHA1 Message Date
Denis Zharkov 80da320c2c Customize JVM signature for Collection's members
- Do not write signature for `contains`
- Write signature for `containsAll` as it's declared like `containsAll(Collection<?>)`
2015-10-09 14:40:33 +03:00
Denis Zharkov 1f52dfccdb Setup specific loading contains/containsAll from java
If they override Kotlin collection members

contains(Object) -> contains(E)
containsAll(Collection<?>) -> containsAll(Collection<E>)
2015-10-09 14:40:33 +03:00
Denis Zharkov d27d3950fb Refine signature for Collection.contains/containsAll 2015-10-09 14:40:33 +03:00
Denis Zharkov 521e958f6d Serialize type annotations in builtins 2015-10-09 14:40:33 +03:00
Denis Zharkov e800be18c6 Introduce UnsafeVariance annotation 2015-10-09 14:40:33 +03:00
Nikolay Krasko 013b257347 Make it possible to get diagnostics factory was registered for 2015-10-09 14:15:09 +03:00
Nikolay Krasko efaa1d9614 Minor: add factory info into toString() for diagnostics 2015-10-09 14:15:08 +03:00
Nikolay Krasko a2ba1d762d Fix spelling in error message (KT-9475)
#KT-9475 Fixed
2015-10-09 14:15:07 +03:00
Dmitry Jemerov 07332106a5 Gradle plugin build fixed 2015-10-09 12:57:02 +02:00
Dmitry Jemerov a54e49aedd Maven build fixed 2015-10-09 12:43:00 +02:00
Michael Bogdanov 7cdc3d8dd9 Fix test data 2015-10-09 13:03:01 +03:00
Natalia Ukhorskaya ccbb015606 Completion for evaluate expression: add only imports from code fragment to scope when analyzing it 2015-10-09 12:58:39 +03:00
Dmitry Jemerov 7e2c2ef678 restore compilation after rebase of dropping external annotations; fix affected tests 2015-10-09 11:52:02 +02:00
Alexander Udalov c41aefe2cb Drop JVMConfigurationKeys.ANNOTATIONS_PATH_KEY and external annotations in CLI
CoreExternalAnnotationsManager is moved to the only usage left, which is in the
test
2015-10-09 11:52:00 +02:00
Alexander Udalov b0a4e812e5 Drop ConfigurationKind.JDK_AND_ANNOTATIONS, JetTestUtils.getJdkAnnotationsJar() 2015-10-09 11:51:59 +02:00
Alexander Udalov 448b3f6195 Rename testData/codegen/boxWithStdlib/{jdkAnnotations -> jdk} 2015-10-09 11:51:58 +02:00
Alexander Udalov 13c54a2678 Drop external annotations support in build tools
External annotations will only be considered in the IDE for additional
inspections based on more precise types in Java libraries
2015-10-09 11:51:58 +02:00
Svetlana Isakova f2efd30a5d Added 'NoInfer' and 'Exact' annotations 2015-10-09 11:05:52 +03:00
Svetlana Isakova 9b1030de2e Annotations on type projection belong to type reference 2015-10-09 11:05:52 +03:00
Svetlana Isakova 63d9e287b7 Converted JetTypeReference to Kotlin 2015-10-09 11:05:52 +03:00
Svetlana Isakova d8e7dccc90 Rename JetTypeReference .java -> .kt 2015-10-09 11:05:51 +03:00
Dmitry Jemerov d6ea701901 use IDEA 15 UI for "Show expression type" 2015-10-08 19:59:25 +02:00
Dmitry Jemerov d8122e835e dead code deleted 2015-10-08 19:58:00 +02:00
Dmitry Jemerov 3c93824e16 mark JS features as experimental in the UI 2015-10-08 19:57:59 +02:00
Valentin Kipyatkov b29267ff93 "Single instance only" for IDEA run configurations 2015-10-08 20:36:18 +03:00
Zalim Bashorov c8f54b3ccb Fix the accessing to static field from Parent through Child 2015-10-08 19:33:29 +03:00
Zalim Bashorov ae2831338b Load Java static members from parents 2015-10-08 19:33:29 +03:00
Yan Zhulanow d90585624f Add 'DeprecationLevel' parameter to 'Deprecated' 2015-10-08 18:31:08 +03:00
Yan Zhulanow fd3c28c950 Forbid Foo<T>.Bar 2015-10-08 18:31:07 +03:00
Yan Zhulanow 937d1913b8 Automatically put 'operator' modifier on appropriate Java methods 2015-10-08 18:31:07 +03:00
Yan Zhulanow 2c848b8bb0 Add JvmSynthetic annotation 2015-10-08 18:31:06 +03:00
Yan Zhulanow 9eeb89a6aa Rename sparam to setparam 2015-10-08 18:31:06 +03:00
Yan Zhulanow e85d76f9cc Parse ;; as a single token 2015-10-08 18:31:05 +03:00
Yan Zhulanow 8d5cbeeab0 Fix "not initialized" on lateinit property (KT-9369) 2015-10-08 18:31:05 +03:00
Yan Zhulanow aa573c2e31 Report more specific error on primitive type property (KT-9358) 2015-10-08 18:31:04 +03:00
Yan Zhulanow e6c0d4692a Fix operator warning on 'Constr()()' 2015-10-08 18:31:04 +03:00
Mikhail Glukhikh 7e4fbfaa6d Exposed visibility: warning messages changed 2015-10-08 18:25:37 +03:00
Mikhail Glukhikh e99a070a2e Refactoring: decomposition of checkExposed... methods 2015-10-08 18:25:31 +03:00
Dmitry Jemerov 7abc29cff6 fix 'where' clause in IDEA plugin code 2015-10-08 17:09:58 +02:00
Dmitry Jemerov 45d1129dbb quickfix to move type constraint to 'where' clause 2015-10-08 17:09:58 +02:00
Dmitry Jemerov 4c4030dfc1 disallow putting type parameter constraints both in type parameter list and in 'where' clause 2015-10-08 17:09:57 +02:00
Dmitry Petrov 51225d3556 Test for KT-9430: proper visibility of protected members of base class
in child classes
2015-10-08 18:08:52 +03:00
Ilya Gorbunov b6caedbc82 Add operator to Comparable.rangeTo 2015-10-08 17:48:49 +03:00
Ilya Gorbunov e09c0ae2ff Rename toMap { selector } to toMapBy.
#KT-6657
2015-10-08 17:48:47 +03:00
Ilya Gorbunov fd7b670414 Replace deprecated package facade ref. 2015-10-08 17:48:37 +03:00
Ilya Gorbunov db93532e7c Deprecate merge and introduce instead zip with transform.
Add zip with transform for Strings.
2015-10-08 17:48:35 +03:00
Ilya Gorbunov 12d9beb3a4 Deprecate join (use joinToString instead)
#KT-6909
2015-10-08 17:48:33 +03:00
Sergey Mashkov f37e022b8e IDL2K: review changes 2015-10-08 14:16:48 +03:00
Sergey Mashkov 2a0c1a997e IDL2K: support for operator modifier 2015-10-08 14:16:48 +03:00
Sergey Mashkov 4d8bd683eb IDL2K code cleanup, add to build 2015-10-08 14:16:48 +03:00