Commit Graph

26629 Commits

Author SHA1 Message Date
Pavel V. Talanov c28107034a Idea tests: INSTANCE$ -> INSTANCE 2015-10-09 16:25:17 +03:00
Michael Bogdanov 7fe71d21f3 Initialize class companion object fields on accessing its java class 2015-10-09 16:25:16 +03:00
Michael Bogdanov 60d1736b97 Instance field generation in objects 2015-10-09 16:25:16 +03:00
Michael Bogdanov 53ced57c42 Annotations.EMPTY replaced with Annotations.Companion.getEMPTY() in java classes 2015-10-09 16:25:15 +03:00
Michael Bogdanov 12afbffb09 Copy to interface just companion object public const properties 2015-10-09 16:25:15 +03:00
Michael Bogdanov a9aa2bc147 Interface companion object backing fields become static 2015-10-09 16:25:14 +03:00
Nikolay Krasko 8f20595e8c Disable plugin updater check in tests 2015-10-09 16:14:27 +03:00
Natalia Ukhorskaya 391af972d7 CodeFragments: do not add imports from context file 2015-10-09 15:10:03 +03:00
Zalim Bashorov e9b138557b Report error when try to access to static field which come from many sources 2015-10-09 15:00:59 +03:00
Denis Zharkov da00ddfc3e Filter out UnsafeVariance annotation when it sticks after substitution 2015-10-09 14:40:34 +03:00
Denis Zharkov 888f8cc548 Adjust stdlib to contains* transformation 2015-10-09 14:40:34 +03:00
Denis Zharkov 14f93a88c4 Adjust rendered collections desciptors to contains* transformation 2015-10-09 14:40:34 +03:00
Denis Zharkov e9cd9db2a7 Adjust testData after contains transformation 2015-10-09 14:40:34 +03:00
Denis Zharkov 35783f129b Generate INSTANCEOF barrier in bridges for Collection.contains 2015-10-09 14:40:33 +03:00
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