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
Andrey Breslav
884b63abac
Missing space added
2012-09-18 21:53:35 +04:00
Andrey Breslav
e373663a85
Tuple-related classes are deprecated
...
#KT-2358 In Progress
2012-09-18 20:47:34 +04:00
Andrey Breslav
36b5573f4d
A quick fix to replace tuples (expressions and types) by Unit, Pair and Triple
...
Changes are made to all files in the project
This quick-fix is to be removed in the next milestone
#KT-2358 In Progress
2012-09-18 20:27:09 +04:00
Andrey Breslav
dee5152f9b
Supporting Unit.VALUE, to replace #()
...
#KT-2358 In Progress
2012-09-18 20:27:09 +04:00
Nikolay Krasko
4041d4d192
Remove ResolveSession.getResolutionScope() and extend usage of ScopeProvider.getResolutionScopeForDeclaration()
2012-09-18 19:26:57 +04:00
Nikolay Krasko
01141cfb36
Extend logging for EA-35750
2012-09-18 19:26:56 +04:00
Nikolay Krasko
db830c88b4
EA-38787 Exception because of enumeration without name
2012-09-18 19:26:56 +04:00
Nikolay Krasko
7c41ec517f
Better recovery for parameters without type
2012-09-18 19:26:54 +04:00
Nikolay Krasko
f7da4f681c
Don't fall when there's no parent descriptor for expression
...
(Example "class MaxInfo(val a = Int.<caret>)")
2012-09-18 19:26:54 +04:00
Natalia.Ukhorskaya
20f1ddc9da
EA-36817: add message for assert for clarify cause of exception
2012-09-18 13:16:41 +04:00
Evgeny Gerashchenko
9cbe853cad
Better rendering for PLATFORM_CLASS_MAPPED_TO_KOTLIN.
2012-09-17 21:00:50 +04:00
Evgeny Gerashchenko
c6a040a380
Removed sure() function from built-ins.
2012-09-17 18:00:22 +04:00