Commit Graph

1746 Commits

Author SHA1 Message Date
Pavel V. Talanov 92ffd8ab30 Convert line separators when loading files with builtins 2012-10-17 17:54:38 +04:00
Andrey Breslav e52277401d Unused method removed 2012-10-17 17:48:48 +04:00
Andrey Breslav 2a112a41b3 Comments removed (what they say is no longer true) 2012-10-17 17:21:00 +04:00
Andrey Breslav 1f34f6ffae Generator output land in the right place now 2012-10-17 14:39:42 +04:00
Andrey Breslav ee5b50cb1b Incorrect comparison to default bound fixed 2012-10-17 13:48:07 +04:00
Andrey Breslav 3121f1ad5c Incorrect comparison fixed 2012-10-17 13:48:07 +04:00
Andrey Breslav 937c4e8baf BuiltinsScopeExtensionMode not needed any more
(see the changes in DefaultModuleConfiguration.java)
2012-10-17 13:48:07 +04:00
Andrey Breslav 69f44dec62 JetStandardClasses and JetStandardLibrary deleted 2012-10-17 13:48:06 +04:00
Andrey Breslav e81f38b6a8 JetStandardLibrary -> KotlinBuiltIns 2012-10-17 13:48:05 +04:00
Andrey Breslav c719ae427a JetStandardClasses -> KotlinBuiltIns 2012-10-17 13:48:05 +04:00
Andrey Breslav 363faaf6d5 KotlinBuiltins: a replacement for JetStandardLibrary and JetStandardClasses 2012-10-17 13:48:04 +04:00
Andrey Breslav 3f70a603a7 Forced resolve supported for lazy ResolveSession 2012-10-17 13:48:03 +04:00
Svetlana Isakova e7cbff14ef mark last parenthesis instead of value argument list 2012-10-16 20:14:52 +04:00
Svetlana Isakova 0d4d576fed fixed exception in renderer for type inference error 2012-10-16 17:28:24 +04:00
Svetlana Isakova 73020fbebf added class ExtendedInferenceErrorData
(to avoid @Nullable fields)
2012-10-16 16:25:08 +04:00
Svetlana Isakova 18b9d69577 added comment for 'INVISIBLE_REFERENCE' error 2012-10-16 16:00:22 +04:00
Svetlana Isakova b0ae57902b changed error messages for
INVISIBLE_REFERENCE, INVISIBLE_MEMBER
2012-10-16 16:00:22 +04:00
Svetlana Isakova 5da98b2bf0 KT-2330 Check visibility of getters and setters correspondingly
#KT-2330 fixed
2012-10-16 16:00:22 +04:00
Svetlana Isakova 7d768847a0 KT-2906 If function parameter/variable is invoked in closure using parenthesis syntax, in IDEA it is not highlighted as captured in closure
#KT-2906 fixed
2012-10-16 16:00:22 +04:00
Svetlana Isakova b78ed3a684 made ListIterator covariant 2012-10-16 16:00:22 +04:00
Svetlana Isakova 9d89eb0e58 KT-2841 Can't infer a type for function literal parameter if the return type is error
#KT-2841 fixed
2012-10-16 16:00:22 +04:00
Nikolay Krasko 04670d5d6e Navigate to symbol for kotlin properties 2012-10-16 15:38:26 +04:00
Andrey Breslav 6e15ed3153 WithDeferredResolve removed (it was never used) 2012-10-16 10:11:36 +04:00
Nikolay Krasko ef7ed937c1 Cache getting qualified name for package expression 2012-10-15 20:45:34 +04:00
Evgeny Gerashchenko 5bc2422cb0 Failing with compilation error when Java library has wrong @KotlinSignatureAnnotation. 2012-10-08 21:48:54 +04:00
Alexander Udalov bf779b4ca5 Generate not-null assertions only for descriptors coming from Java
Introduce BindingContext.IS_DECLARED_IN_JAVA, store that info in
JavaDescriptorResolver
2012-10-08 19:03:29 +04:00
Natalia.Ukhorskaya a5b43cbbae Stub for annotations: write shortName instead getText 2012-10-05 12:07:22 +04:00
Natalia.Ukhorskaya ae6aa1b160 Stub for annotations 2012-10-04 19:45:52 +04:00
Nikolay Krasko 58c05afa87 Fix warnings and remove outdated code 2012-10-03 17:42:09 +04:00
Svetlana Isakova 9d5f5f7adf KT-2842 Function with declared non-null receiver resolves with nullable argument receiver
#KT-2842 fixed
2012-10-02 14:20:00 +04:00
Evgeny Gerashchenko 4033c9f835 Saving alternative signature parsing errors to binding trace. 2012-09-27 18:27:29 +04:00
Alexander Udalov 38a42bdb79 Do not wrap built-in function in JetLightClass (EA-38770)
Built-in top-level functions are located in jet.namespace class.
JetStandardClasses.isStandardClass() now checks that a given fqName starts with
"jet.", instead of searching it in the standard scope, to prevent this kind of
errors in the future
2012-09-27 16:30:59 +04:00
Svetlana Isakova 67ec48eaa6 KT-2829 Local variables used only in multi-declaration are marked as unused
#KT-2829 fixed
2012-09-26 15:17:26 +04:00
Kirill Berezin cfa8b36d24 KT-2477 generate fake overrides for members with wider access level first #KT-2477 Fixed 2012-09-25 19:18:35 +04:00
Kirill Berezin 194ef38ba3 KT-2477 fake overrides now get INHERITED visibility in order to maximize visibility according to inherited traits\classes 2012-09-25 19:17:55 +04:00
Natalia.Ukhorskaya 32d707ca9b Inner Java Enums
KT-2691 Fixed
 KT-2686 Fixed
2012-09-24 12:33:58 +04:00
Alex Tkachman e2c4b39615 private constructor added 2012-09-23 17:35:52 +02:00
Alex Tkachman 56232266fd removed duplicating implementation of isCollective 2012-09-22 18:31:09 +03:00
Andrey Breslav 936f53fcbf Don't complain about compareTo returning ERROR type instead of Int 2012-09-20 18:12:57 +04:00
Alexander Udalov 5af90c2a83 Extract some methods in codegen
Introduce DescriptorUtils#getInnerClasses(), which gets all descriptors from
inner classes scope and asserts that they are classes.

Inner/outer classes attributes are generated in separate methods.
2012-09-20 15:02:54 +04:00
Alexander Udalov 37fd9cea08 Place inner enum into its parent's class object
#KT-2771 In Progress

ClassifierCollector now collects all enum declarations inside non-static
classes. After all declarations are done, it processes these enums: creates
a class object if it's not present, reports errors on each enum if a class
object is not allowed, and puts every enum into this class object otherwise,
recording this fact to trace.
2012-09-20 15:02:13 +04:00
Alexander Udalov c4da7f8eb2 Extract some methods in ClassifierCollector 2012-09-20 15:02:09 +04:00
Alexander Udalov 7ca22acd1f Extract anonymous class from collectNamespacesAndClassifiers() 2012-09-20 15:02:08 +04:00
Nikolay Krasko a37f2e9d2d Cache constructed scopes for files 2012-09-20 00:30:19 +04:00
Nikolay Krasko fbe4e9f96e KT-2710 code completion doesn't work
#KT-2710 In Progress
2012-09-20 00:30:18 +04:00
Andrey Breslav bd0eab5202 Tuple migration quick fix now appears only on tupels shorter than 4
Longer tuples exhibit another error message.
Messages adjusted for compiler and IDE
2012-09-19 16:05:32 +04:00
Svetlana Isakova 0ccdf79051 no report 'UNNECESSARY_NOT_NULL_ASSERTION' on error types 2012-09-19 15:31:17 +04:00
Svetlana Isakova 0ff9d95704 made Map covariant on second parameter 2012-09-19 15:31:16 +04:00
Andrey Breslav c9e9175a88 EA-37399 - ISE: OverrideResolver.findInvisibleOverriddenDescriptor
Each of the duplicated methods in the subclass should get the same set of overridden descriptors
2012-09-18 22:01:39 +04:00
Andrey Breslav 4c7b057dea Cleanup 2012-09-18 21:54:14 +04:00