Pavel V. Talanov
e4cf090720
Adjust diagnostics rendering so that short classifier names are rendered unless the name is ambiguous in corresponding RenderingContext
2016-02-26 14:45:05 +03:00
Pavel V. Talanov
ced5a6c917
Introduce RenderingContext and add as parameter to DiagnosticParameterRenderer#render
...
RenderingContext holds data about the whole diagnostics allowing to adjust rendering of its parameters
2016-02-26 14:45:04 +03:00
Pavel V. Talanov
4f18b3da53
Rename: Renderer -> DiagnosticParameterRenderer and move it out of descriptors module
...
DescriptorRenderer is no longer a renderer
DescriptorRenderers should not be used to render diagnostic parameters explicitly
2016-02-26 14:45:02 +03:00
Pavel V. Talanov
a3bab638eb
Move MultiRenderer to a more suitable package
2016-02-26 14:45:00 +03:00
Stanislav Erokhin
7a43d62408
Move sources to resolution module
2016-02-26 00:39:37 +03:00
Stanislav Erokhin
5bb1f3b2ea
Create resolution module.
2016-02-26 00:39:37 +03:00
Stanislav Erokhin
310c68f633
Removed lock level WRITING from LexicalWritableScope.
2016-02-26 00:39:36 +03:00
Stanislav Erokhin
f85abed6e6
Replace RedeclarationHandler by LocalRedeclarationChecker
2016-02-26 00:39:35 +03:00
Stanislav Erokhin
226e690a86
Minor. refactoring in Qualifier.
2016-02-24 19:33:10 +03:00
Stanislav Erokhin
f130de2468
Remove scope from Qualifier
2016-02-24 19:33:10 +03:00
Stanislav Erokhin
4b3c6d52ef
Remake QualifierReceiver
2016-02-24 19:33:09 +03:00
Stanislav Erokhin
8c5339cccf
Minor. Remove class ClassifierQualifier and create special ClassValueReceiver
2016-02-24 19:33:09 +03:00
Stanislav Erokhin
2f0ae6f176
Minor. Remove name from Qualifier.
2016-02-24 19:33:08 +03:00
Stanislav Erokhin
5240233eda
Minor. Remove HIDDEN_ANNOTATION_FQ_NAME.
2016-02-24 19:33:08 +03:00
Stanislav Erokhin
6a1664c1b3
Minor. removed explicitExtensionReceiverForInvoke from CallCandidateResolutionContext.
2016-02-24 19:33:07 +03:00
Stanislav Erokhin
1ef4a958fd
Minor. removed call checked from ResolutionContext.
2016-02-24 19:33:07 +03:00
Stanislav Erokhin
6591f8a2ab
Minor. removed unused method from AdditionalTypeChecker.
2016-02-24 19:33:06 +03:00
Alexander Udalov
1a5a077bd6
Replace map + filterNotNull -> mapNotNull in project
2016-02-20 19:05:30 +03:00
Stanislav Erokhin
ae7b048fdb
Minor. rename
2016-02-20 14:55:18 +03:00
Stanislav Erokhin
3e366f6b2d
Minor. cleanup
2016-02-20 14:55:18 +03:00
Stanislav Erokhin
45de06ac0c
Minor. Removed generics.
2016-02-20 14:55:17 +03:00
Stanislav Erokhin
63b3cbafa4
Remove old resolution algorithm.
2016-02-20 14:55:17 +03:00
Stanislav Erokhin
acdd807e91
Support "given candidates" mode in new resolution algorithm.
2016-02-20 14:55:16 +03:00
Stanislav Erokhin
daee95f2c4
Refactoring: create separate util function for create constructors resolution candidates
2016-02-20 14:55:16 +03:00
Stanislav Erokhin
7de2013a3e
KT-3856 Wrong inner class inaccessible diagnostic for extension to outer class
...
#KT-3856 Fixed
2016-02-20 14:55:15 +03:00
Alexander Udalov
1eeb72e073
Do not create empty static scope instances for non-enum classes
2016-02-19 22:28:44 +03:00
Alexander Udalov
60fe64dcaa
Remove obsolete lazy code in LazyClassDescriptor
...
This was added in a072550931 when we thought
making 'annotation' an annotation instead of a modifier would be a good idea;
we weren't be able to resolve the class kind immediately then. This is no
longer the case
2016-02-19 22:28:44 +03:00
Dmitry Petrov
90be4f8ea5
KT-6745: change message to reflect that a super qualifier should be an immediate supertype,
...
not just a supertype.
2016-02-19 16:49:59 +03:00
Michael Bogdanov
6f1def9366
isInlineOnly renamed to isInlineOnlyOrReified
2016-02-19 16:08:02 +03:00
Dmitry Petrov
30c2abba3c
KT-9550: distinguish signature conflict on override from signature conflict of inherited members.
...
Add a common OverridingStrategy class for cases where we don't care (yet) about precise diagnostics.
2016-02-19 15:59:08 +03:00
Mikhail Glukhikh
883e2e4d2b
KT-9498 extension: now type can be inferred for getter with expression body
2016-02-19 14:49:25 +03:00
Michael Bogdanov
7c2920febe
Don't allow use standalone constants in complexExpressions, fix for KT-11043: Inconsisten result for class literal and string concatenation
...
#KT-11043 Fixed
2016-02-17 16:53:18 +03:00
Mikhail Glukhikh
657459ef22
Source of KNPE removed #EA-79002 Fixed
2016-02-17 11:52:49 +03:00
Alexey Sedunov
651b00c323
Pull Members Up: Always insert spaces between keywords
...
#KT-10971 Fixed
2016-02-17 11:31:46 +03:00
Alexey Sedunov
d587bb2ea6
Change Signature: Support Change Signature quick-fix for Java -> Kotlin case
...
#KT-9401 Fixed
2016-02-17 11:31:40 +03:00
Stanislav Erokhin
9781578af2
Update copyright in generated classes.
2016-02-16 20:31:15 +03:00
Mikhail Glukhikh
5def6eae5b
Correct handling of erroneous code during code extraction
2016-02-16 18:50:24 +03:00
Mikhail Glukhikh
eed4aa71db
No assertion error in getContainingPseudocode #KT-10983 Fixed
...
Also #EA-72954 Fixed
2016-02-16 18:50:20 +03:00
Mikhail Glukhikh
1bbc46729c
Effective visibility: concise diagnostic messages #KT-10761 Fixed
...
Also #KT-9760 Fixed
2016-02-16 15:58:50 +03:00
Denis Zharkov
d4d289c881
Optimize ResolvedCallImpl for case of empty pararameter set
2016-02-16 12:01:12 +03:00
Mikhail Glukhikh
90927cfd19
CallExpressionResolver.getQualifiedExpressionTypeInfo refactoring
2016-02-15 16:46:24 +03:00
Pavel V. Talanov
1800e5a7db
Remove some usages of Name.guess (and rename this utility to discourage new usages)
2016-02-15 13:32:42 +03:00
Pavel V. Talanov
47ceb106c7
Fix "<" or ">" in member name leading to exception
2016-02-15 13:32:41 +03:00
Mikhail Glukhikh
84a072b9f0
getQualifiedExpressionTypeInfo refactoring
2016-02-15 10:42:56 +03:00
Mikhail Glukhikh
88e7b728df
CallExpressionResolver: converted to Kotlin, cleanup
2016-02-15 10:42:52 +03:00
Mikhail Glukhikh
bd40d59a17
CallExpressionResolver.java --> CallExpressionResolver.kt
2016-02-15 10:42:48 +03:00
Mikhail Glukhikh
0f7284f83a
More accurate safe call handling in GenericCandidateResolver / CallExpressionResolver
...
(real receiver nullability is taken into account)
2016-02-13 10:48:12 +03:00
Mikhail Glukhikh
17593e4ef6
Call completer: safe call with nullable receiver has nullable return type #KT-11007 Fixed
2016-02-13 10:48:07 +03:00
Valentin Kipyatkov
17ac168b33
KT-10621 Non-top level packages shown after "@" in completion
...
#KT-10621 Fixed
2016-02-13 10:20:18 +03:00
Michael Bogdanov
4f0f81155a
Weaken PRIVATE_CLASS_MEMBER_FROM_INLINE diagnostic
2016-02-12 17:24:30 +03:00