Commit Graph

12657 Commits

Author SHA1 Message Date
Michael Nedzelsky 1986d8d7f8 add test for private in file 2015-09-25 21:16:04 +03:00
Michael Nedzelsky c62b9dc416 remove test for KT-2257: cannot access private namespace var in multi-file namespace 2015-09-25 21:16:04 +03:00
Zalim Bashorov 8cb87b3e49 private -> internal where it's necessary 2015-09-25 21:16:00 +03:00
Michael Nedzelsky 0d2196e226 ACCESS_TO_PRIVATE_TOP_LEVEL_FROM_ANOTHER_FILE: warning -> error 2015-09-25 21:13:18 +03:00
Ilya Gorbunov 1622cf9506 Fix stdlib facade names in bytecode generation and decompilation tests. 2015-09-25 21:10:13 +03:00
Ilya Gorbunov 12d218632c logging: debug enabled for CLI 2015-09-25 21:09:29 +03:00
Ilya Gorbunov 9970c34961 Preprocessor: improved logging. 2015-09-25 21:09:27 +03:00
Ilya Gorbunov 1df4ab847d Remove task for ant, include preprocessor into the compiler, call preprocessor in ant build. 2015-09-25 21:09:22 +03:00
Ilya Gorbunov e8c93abdb5 Developing preprocessor task for ant 2015-09-25 21:09:20 +03:00
Ilya Gorbunov 7b206fdaf4 Refactor a bit 2015-09-25 21:09:18 +03:00
Ilya Gorbunov d76e177834 Each platform is processed separately but in parallel. 2015-09-25 21:09:15 +03:00
Ilya Gorbunov 706771829e Processing sources for multiple platforms in one pass. 2015-09-25 21:09:13 +03:00
Ilya Gorbunov de778d9865 Prototyping preprocessor: stripping declarations and replacing name. 2015-09-25 21:09:08 +03:00
Dmitry Jemerov bda0bd1de1 quickfix to add 'operator' keyword to operator-like functions 2015-09-25 20:00:19 +02:00
Yan Zhulanow b73f91d16b Fix "unresolved widget fqname" bug in Gradle 2015-09-25 20:47:54 +03:00
Dmitry Jemerov 250456ab4b add quickfix for NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION 2015-09-25 19:14:52 +02:00
Alexey Tsvetkov 68437175f6 Enable disabling incremental compilation for tests 2015-09-25 20:11:57 +03:00
Mikhail Glukhikh 4b9d136ced identityEquals is deprecated 2015-09-25 20:00:54 +03:00
Yan Zhulanow aada13c91f Deprecate @publicField 2015-09-25 19:51:07 +03:00
Yan Zhulanow cc2d005984 Make lateinit diagnostics more clear 2015-09-25 19:51:06 +03:00
Dmitry Jemerov 9de74921ca code review 2015-09-25 18:25:38 +02:00
Dmitry Jemerov 4e7236529c "move assignment to initializer" quickfix for assigning to properties in constructors/init blocks 2015-09-25 18:25:37 +02:00
Dmitry Jemerov e1acc8744d "introduce backing property" intention 2015-09-25 18:25:37 +02:00
Yan Zhulanow 3d65b6fec2 Add extension function for BindingContext 2015-09-25 19:20:21 +03:00
Yan Zhulanow 6db9344659 Fix compiler tests 2015-09-25 19:20:20 +03:00
Yan Zhulanow 35362a0f3b Check 'operator' on next() and hasNext() 2015-09-25 19:20:19 +03:00
Yan Zhulanow 2c7f68ff71 Member and extension functions with 'operator' have now higher priority 2015-09-25 19:20:18 +03:00
Yan Zhulanow ce4bcbba6d Simple diagnostic on 'operator' keyword 2015-09-25 19:20:17 +03:00
Yan Zhulanow 43bf87e82d Add diagnostics on convention operator calls without an "operator" modifier on declaration site 2015-09-25 19:19:02 +03:00
Yan Zhulanow fe744abc3c Mark componentN() in data classes with 'operator' 2015-09-25 19:17:25 +03:00
Mikhail Glukhikh 0a0bfdacb1 Names containing only '_' are deprecated (declarations, parameters, import aliases, labels, but not backquoted names) 2015-09-25 18:57:58 +03:00
Mikhail Glukhikh ebfb6c8468 private and override are no more compatible 2015-09-25 18:57:55 +03:00
Mikhail Glukhikh 9ccf1a1729 Partial rollback: 'private' is no more deprecated in interfaces, some tests rolled back accordingly 2015-09-25 18:57:52 +03:00
Denis Zharkov 505cb37052 Generate deprecated flag on getter of const val's 2015-09-25 18:12:45 +03:00
Michael Nedzelsky 15edbbb60c move service declaration to cli 2015-09-25 18:10:58 +03:00
Mikhail Glukhikh 103bb320c8 Do not generate non-function/getter/setter (expression) annotations on anonymous functions 2015-09-25 17:46:38 +03:00
Mikhail Glukhikh 74ba21b40c Extra annotation target test for prefix expression 2015-09-25 17:46:36 +03:00
Mikhail Glukhikh f06a79d534 KNPE fixed in data class checker together with some ID warnings #KT-9296 Fixed #EA-73584 Fixed 2015-09-25 17:46:33 +03:00
Mikhail Glukhikh bd7ccc0138 Annotation on a function literal cannot be written to binary if it has FUNCTION target and the literal is inlined 2015-09-25 17:46:30 +03:00
Alexey Sedunov 5af4101f7d Resource Bundles: Implement references on Kotlin string literals
#KT-6946 In Progress
2015-09-25 17:17:59 +03:00
Michael Nedzelsky b8ab8bcfca check for access to internal elements from another module in jps-plugin
hack for access from tests to internal declarations in production code

fix AbstractCompileKotlinAgainstKotinTest: add information about output directory in order to correct check for internal visibility.
2015-09-25 14:02:29 +03:00
Denis Zharkov 3f6cadf9b7 Change FUNCTION_EXPRESSION_WITH_NAME severity to ERROR
Also drop deprecation related parts and get rid of usages of this `feature` within testData
2015-09-25 08:29:26 +03:00
Denis Zharkov 60ebc689ad Drop diagnostic reported on lambda's return type
Because it's not allowed syntactically anymore.
Also adjust related methods within JetFunctionNotStubbed
2015-09-25 08:29:26 +03:00
Denis Zharkov c6377a0664 Drop everything related to lambda syntax deprecation 2015-09-25 08:29:26 +03:00
Denis Zharkov 73799e2c3c Replace deprecated lambda syntax in testData
It's done with similar constructions where possible trying to preserve
intended behavior.
Some usages are removed because they test exactly the feature that
we are going to drop soon.
2015-09-25 08:29:25 +03:00
Denis Zharkov 5f69789636 Stop parsing lambdas with deprecated syntax 2015-09-25 08:29:25 +03:00
Michael Nedzelsky c6409138d8 Merge pull request #752 from JetBrains/rr/compile-service-3
compile service 3
2015-09-24 16:50:09 +03:00
Stanislav Erokhin 88815c40cc Minor. Fix testdata. 2015-09-24 14:07:51 +03:00
Stanislav Erokhin cdcf9f30b7 Minor. Fix compilation. 2015-09-24 14:07:51 +03:00
Stanislav Erokhin fc9aa87a05 Report diagnostic on import with explicit import class if class was imported earlier. 2015-09-24 14:07:43 +03:00