Nikolay Krasko
efa59bfc7e
Make stubs for string entries (KT-23738)
2018-11-06 13:43:17 +03:00
Nikolay Krasko
37d7e618da
Stub element for KtStringTemplateExpression (KT-23738)
2018-11-06 13:43:16 +03:00
Nikolay Krasko
11543ba897
Make possible store constant values in stubs (KT-23738)
2018-11-06 13:43:15 +03:00
Nikolay Krasko
d9bc512556
Put arguments name to stubs in annotations (KT-23738)
2018-11-06 13:43:14 +03:00
Nikolay Krasko
12f127d631
Add stub for annotations value arguments (KT-23738)
2018-11-06 13:43:13 +03:00
Nikolay Krasko
fbb0e7d927
Stubbed VALUE_ARGUMENT_LIST and store it for annotations (KT-23738)
2018-11-06 13:43:12 +03:00
Nikolay Krasko
0f0dfe725e
Refactoring: move KtExpression.unpackFunctionLiteral to utils file
2018-11-06 13:43:10 +03:00
Nikolay Krasko
7c49eeded7
Make KtProperty.getInitializer() use stub check
2018-11-06 13:43:09 +03:00
Nikolay Krasko
4f52f62b44
Use stubs in KtProperty for getDelegate() and getDelegateExpression()
2018-11-06 13:43:08 +03:00
Nikolay Krasko
f892714bea
Test for stubs in annotations (KT-23738)
2018-11-06 13:43:07 +03:00
victor.petukhov
9a61998fca
Add lexer test runner and whitespace characters tests
...
Whitespace characters for the tests are U+000B, U+000C, U+000D, U+0085, U+2028, U+2029
2018-11-06 11:19:15 +03:00
victor.petukhov
fe072e3366
Fix the lack of the handling of whitespace characters in the KDoc lexer
...
Affected characters are U+000B, U+000C, U+000D, U+0085, U+2028, U+2029
This problem reproduces with JFlex since 1.5.0: http://jflex.de/changelog.html#jflex-1.5.0-jan-21-2014
2018-11-06 11:18:58 +03:00
victor.petukhov
9e6ac6cb2a
Fix the lack of the handling of whitespace characters in the Kotlin lexer
...
Affected characters are U+000B, U+000C, U+000D, U+0085, U+2028, U+2029
This problem reproduces with JFlex since 1.5.0: http://jflex.de/changelog.html#jflex-1.5.0-jan-21-2014
2018-11-06 11:18:38 +03:00
Toshiaki Kameyama
4a82f50e79
Convert concatenation to template: omit braces when converting 'this' #KT-7555 Fixed
2018-11-06 11:03:08 +03:00
Toshiaki Kameyama
7a9effe30d
Redundant companion reference: Fix false positive in enum entry #KT-27861 Fixed
2018-11-06 11:02:35 +03:00
Karen Schwane
d88fd8aa6f
KT-20357 Add samples for maxBy and minBy
2018-11-04 22:34:16 +03:00
Alexey Tsvetkov
aae24c993d
Revert usage of lazy task API
...
We want to be compatible with Gradle 4.0+
where the API is not available.
Use eager task creation API for now.
Lazy API support should be added later with
proper Gradle versions checks.
2018-11-03 00:59:27 +03:00
Ivan Gavrilovic
c42b3b8ff8
Do not resolve configuration for scripting Gradle plugin
...
Avoid resolving kotlinScriptDef configurations during
configuration phase. Also, make task creation lazy.
#KT-27160 fixed
2018-11-03 00:59:27 +03:00
Mikhail Glukhikh
22fa9b6b92
AndroidViewConstructorFix: add white space after annotation explicitly
...
This fixes Android formatter-related issue
#KT-27945 Fixed
2018-11-02 19:51:44 +03:00
Mikhail Glukhikh
279203e2e1
FIR visitor generator: fix copyright generator to pass conformance test
2018-11-02 19:44:56 +03:00
Mikhail Glukhikh
631adde3f5
Regenerate FIR resolve tests
2018-11-02 19:44:56 +03:00
Mikhail Glukhikh
2bc063b230
FIR: implement default star importing scope
2018-11-02 19:44:56 +03:00
Mikhail Glukhikh
284b21b2a6
Get rid of descriptors, resolved classifiers, + some cleanup
2018-11-02 19:44:55 +03:00
Mikhail Glukhikh
8035be07e2
FIR: built-in resolve, preliminary version #KT-24091 Fixed
2018-11-02 19:44:55 +03:00
Mikhail Glukhikh
ce113fbe2e
FIR: introduce class & type alias symbols
2018-11-02 19:44:55 +03:00
Mikhail Glukhikh
093a236e34
FIR resolve: support star imports, enum entries
2018-11-02 19:44:55 +03:00
Mikhail Glukhikh
929573e0d5
FIR type transformer: minor optimization: do not create empty scopes
2018-11-02 19:44:54 +03:00
Mikhail Glukhikh
dfa8c32c5d
FIR: minor cone types refactoring
2018-11-02 19:44:54 +03:00
Mikhail Glukhikh
4d48c40832
FIR tree & builder: support expect / actual
2018-11-02 19:44:54 +03:00
Mikhail Glukhikh
d16303342e
FIR: do not allow to resolve to type parameters in supertype position
2018-11-02 19:44:54 +03:00
Mikhail Glukhikh
e46074dee6
FIR: simplify type parameter scopes
2018-11-02 19:44:54 +03:00
Mikhail Glukhikh
9aaec1efda
FIR: resolve function type parameters
2018-11-02 19:44:54 +03:00
Simon Ogorodnik
25ae12fe07
FIR: implement early type alias expansion
2018-11-02 19:44:54 +03:00
Mikhail Glukhikh
d15fb1963b
FIR: introduce symbols + type parameter resolve #KT-24064 Fixed
2018-11-02 19:44:53 +03:00
Mikhail Glukhikh
3495f09ac4
Fix visiting of resolved FIR nodes
2018-11-02 19:44:53 +03:00
Mikhail Glukhikh
a99578c354
FIR: handle unresolved modality as questionable
2018-11-02 19:44:53 +03:00
Mikhail Glukhikh
737ec37486
FIR visibility rendering: unknown -> public with question
2018-11-02 19:44:53 +03:00
Mikhail Glukhikh
b83d921445
FIR: add type alias descriptors
2018-11-02 19:44:53 +03:00
Simon Ogorodnik
bc9175c4e8
FIR: Refactor nested scope, fix super-type resolving jump context
...
#KT-24017 Fixed
2018-11-02 19:44:52 +03:00
Mikhail Glukhikh
f82ad6ac20
FIR: support type alias resolve
2018-11-02 19:44:52 +03:00
Mikhail Glukhikh
d5463193fd
FIR: introduce classifier scopes #KT-24022 Fixed
2018-11-02 19:44:52 +03:00
Mikhail Glukhikh
1ba498b021
FIR: transform types inside functions & properties
2018-11-02 19:44:52 +03:00
Mikhail Glukhikh
be35b904f2
FIR: replace UnambiguousFqName with ClassId
2018-11-02 19:44:52 +03:00
Mikhail Glukhikh
6c8a326e15
FIR: split transformer into three (imports / types / descriptors)
2018-11-02 19:44:52 +03:00
Simon Ogorodnik
8933c9035b
FIR: introduce FIR importing scopes #KT-24096 Fixed
2018-11-02 19:44:51 +03:00
Mikhail Glukhikh
e6cd07b46e
FIR: support tailrec & external modifiers
2018-11-02 19:44:51 +03:00
Mikhail Glukhikh
fa80f40e74
FIR: no nullability in error type
2018-11-02 19:44:51 +03:00
Simon Ogorodnik
3e7b9c4e27
FIR: introduce type resolvers #KT-24019 Fixed
2018-11-02 19:44:51 +03:00
Simon Ogorodnik
aa20d88dff
FIR: Create ad-hoc fir by name provider
2018-11-02 19:44:51 +03:00
Simon Ogorodnik
9976eff03a
FIR: Add components storage to FirSession
2018-11-02 19:44:50 +03:00