Commit Graph

50081 Commits

Author SHA1 Message Date
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
Simon Ogorodnik 7e95eee9f1 FIR: Introduce new classifier descriptors aka 'cones' 2018-11-02 19:44:50 +03:00
Simon Ogorodnik ce7456c93d FIR: Introduce new kotlin types aka 'cones' #KT-24063 Fixed 2018-11-02 19:44:50 +03:00
Simon Ogorodnik 12acbaaa21 FIR: Add module for new types aka 'cones' (of fir tree)
Start of KT-24063
2018-11-02 19:44:50 +03:00
Mikhail Glukhikh 9daa84c5a9 FIR: add resolve module 2018-11-02 19:44:50 +03:00
Simon Ogorodnik 3e06f426d0 Raw FIR: support a bunch of new elements + some fixes
Support: calls, constructor calls, annotation calls, arguments
Support: enums, primary constructors, const modifier
Support: inner modifier, qualified types
Add: some base transformed types
Fix: acceptChildren etc.
Progress: #KT-24013
2018-11-02 19:44:49 +03:00
Simon Ogorodnik 2ddf52123a Create FIR transformer generator #KT-24062 Fixed 2018-11-02 19:44:49 +03:00
Simon Ogorodnik fda49736ee Regenerate visitors 2018-11-02 19:44:49 +03:00
Simon Ogorodnik f33c16a7db Fix various inconsistencies in visitor generator output 2018-11-02 19:44:49 +03:00
Mikhail Glukhikh 2c626d6c5d Implement raw FIR builder (initial version)
All necessary FIR tree implementations were created
FIR renderer & three first builder tests were added
#KT-24013 Fixed
2018-11-02 19:44:49 +03:00
Simon Ogorodnik 1a80477c1c Create visitor generator for FIR (KT-24062 in progress) 2018-11-02 19:44:47 +03:00
Mikhail Glukhikh 4755a494f1 Create basic version of FIR interfaces (mostly declarations)
#KT-24014 Fixed
2018-11-02 19:44:47 +03:00
Simon Ogorodnik 0f02622e32 Create modules for Frontend IR & its builder from PSI 2018-11-02 19:44:46 +03:00
Ilya Gorbunov 332b843301 kotlin-bom: Add distributionManagement and signing profile
Since kotlin-bom intentionally has no parent these settings have to be duplicated
same as in the root kotlin-project pom.

#KT-18398
2018-11-02 19:04:10 +03:00
Ilya Gorbunov 11519e40cc Add scripting dependencies to kotlin-bom
#KT-18398
2018-11-02 18:52:40 +03:00
Ilya Gorbunov 119385839a Provide bom (bill-of-materials) pom for kotlin libraries
#KT-18398 Fixed
2018-11-02 18:52:40 +03:00
Mikhail Glukhikh 329e4f6000 New MPP highlighting test: add test without errors (KT-27494) 2018-11-02 15:42:39 +03:00
Mikhail Glukhikh 62e9eae48d New MPP highlighting test: check also line markers (KT-27494)
We have to do complex operations with tags, because otherwise
tags in different files prevent correct analysis of the current one
2018-11-02 15:42:06 +03:00
Mikhail Glukhikh 9be23bb21c Add first test for new multiplatform highlighting #KT-27494 Fixed 2018-11-02 15:41:45 +03:00