Mikhail Glukhikh
d7317c58e9
Move "Add test library to classpath" to irrelevant action list
...
This prevents inconsistencies like "Add JUnit 5.0" / "Add JUnit 5.2"
Should fix one relevant test
2018-08-06 19:04:12 +03:00
Mikhail Glukhikh
21be8d118d
Fix "ReplaceInfixOrOperatorCallFix" (make consistent PSI)
...
One relevant quick-fix test should be fixed after it
2018-08-06 19:04:11 +03:00
Mikhail Glukhikh
247bb912ba
Fix refactoring test (bunch file -> original file)
2018-08-06 19:04:09 +03:00
Mikhail Glukhikh
e15fc7da15
Fix two inspection tests (bunch file -> original file)
2018-08-06 19:04:07 +03:00
Mikhail Glukhikh
90245659ff
Fix testOptionalParameterAndLambdaComplex (related to KT-24694)
2018-08-06 19:04:05 +03:00
Mikhail Glukhikh
07ff2bff33
Reformat & cleanup: psiModificationUtils, especially PsiElement.replaced
2018-08-06 19:04:04 +03:00
Mikhail Glukhikh
1d2438e04e
Report SUPERTYPE_NOT_INITIALIZED even if no constructors in superclass
...
Before this commit, expect super-class without constructors did not
provoke SUPERTYPE_NOT_INITIALIZED. However, it should, but only
if sub-type is normal class (not an expect one).
So #KT-24597 Fixed
2018-08-06 19:02:24 +03:00
Vyacheslav Gerasimov
6db2037440
Make JavaToKotlinAction.convertFiles compatible with AS 3.3
2018-08-06 18:39:00 +03:00
Mikhail Zarechenskiy
1972387022
Fix test data after 6d4d244c28
2018-08-06 17:45:24 +03:00
Mikhail Zarechenskiy
659289b41a
Report diagnostics about experimentality on unsigned literals
...
#KT-25580 Fixed
2018-08-06 17:45:22 +03:00
Mikhail Zarechenskiy
55e7def3c1
Fix coercion for stack value property in case of inline classes
...
#KT-25771 Fixed
2018-08-06 17:45:20 +03:00
Bloder
f89803fe8f
Create samples for String.toLowerCase/toUpperCase
...
* Create toLowerCase method sample
* Create toUpperCase method sample
* Create toUpperCase sample reference in StringsJVM
* Create sample ref and doc of js impl toUpperCase
* Create sample ref and docs of js toLowerCase
* Add sample ref in toLowerCase expect fun
* Add sample ref in toUpperCase expect fun
2018-08-06 15:34:57 +03:00
Vyacheslav Gerasimov
e41f468bd8
Update compiler.pro for 183 platform
2018-08-06 15:08:03 +03:00
Vyacheslav Gerasimov
f712759a3e
Make isReferenceTo parameter NotNull, annotated in 183 platform
2018-08-06 15:08:03 +03:00
Ilya Chernikov
a3d719785c
Drop exception/stacktrace from logging warning if a script template is not found in the classpath
...
reducing clutter in logs and console
#KT-24754 fixed
2018-08-06 13:58:49 +02:00
Alexander Udalov
6f9441d3f4
Do not output empty non-root packages in tests with txt
...
Mostly to avoid listing every internal package in
kotlin-stdlib/kotlin-reflect, as in
https://github.com/JetBrains/kotlin/blob/acd5b62148d797ffd24c4811d1d663f0c1ae7885/compiler/testData/diagnostics/testsWithUnsignedTypes/conversions/conversionOfSignedToUnsigned.txt#L144
2018-08-06 13:43:32 +02:00
Alexander Udalov
ccb6410823
Rework and move the pull request checklist to a new section in ReadMe
...
Otherwise this text appears in numerous pull requests and contributors
do not understand what to do with it
2018-08-06 13:41:49 +02:00
Alexander Udalov
4c7bdf5437
Minor, fix typos in ReadMe
2018-08-06 13:41:49 +02:00
Mikhael Bogdanov
ddf6bdffcf
Move jvm ir tests to jvm ones
2018-08-06 13:57:43 +03:00
Natalia Selezneva
0e8b93bf35
Use IDELanguageSettingsProvider getting languageVersionSettings and targetPlatform during analysis
2018-08-06 10:41:42 +02:00
Ilya Chernikov
f2395bac2f
Use script compiler options to calculate target platform in IDE
...
#KT-25822 fixed
2018-08-06 10:41:41 +02:00
Vyacheslav Gerasimov
0cf6b26494
as32: Set since-build to 181.5281 (AS 3.2 Beta 5)
2018-08-06 11:15:50 +03:00
Mikhail Zarechenskiy
2ee483f92b
Do not generate bodies for functions from Any for light classes
...
#KT-25894 Fixed
2018-08-06 10:57:53 +03:00
Mikhail Zarechenskiy
ddf6c37e0e
Prohibit inline classes with special underlying types
...
#KT-25328 Fixed
#KT-23819 Fixed
2018-08-06 10:56:05 +03:00
Mikhail Zarechenskiy
6d4d244c28
Generate function from Any for inline classes same as for data classes
...
#KT-24873 Fixed
#KT-25293 Fixed
#KT-25299 Fixed
2018-08-06 10:56:01 +03:00
Mikhail Zarechenskiy
043ce1cb27
Support secondary constructors for inline classes
...
#KT-25614 Fixed
#KT-25246 Fixed
KT-25599 Will be fixed after recompilation of unsigned classes
2018-08-06 10:55:57 +03:00
Mikhail Zarechenskiy
064eb24d51
Refactoring: extract methods about constructor codegen out
...
#KT-25614 In Progress
2018-08-06 10:22:21 +03:00
Mikhail Zarechenskiy
e28c2ed549
Refactoring: extract codegen methods about functions from Any out
2018-08-06 10:22:17 +03:00
Mikhail Zarechenskiy
c253b39acf
Refactoring: extract generator for functions from Any
2018-08-06 10:19:46 +03:00
Mikhail Zarechenskiy
6244846107
Add functions from Any to the member scopes of inline classes
2018-08-06 10:19:43 +03:00
Mikhail Zarechenskiy
fdf538007c
Refactoring: extract logic about methods from Any for scopes out
2018-08-06 10:19:39 +03:00
Andrey Breslav
6e3497771d
Some notes on contributing language features
...
This is to provide some guidance for PRs like: https://github.com/JetBrains/kotlin/pull/1769
2018-08-06 06:32:40 +03:00
Vyacheslav Gerasimov
e4bf20a267
183: Set since-build to 183.1
2018-08-03 21:29:19 +03:00
Vyacheslav Gerasimov
ebb90f8260
183: Build against 183-SNAPSHOT
2018-08-03 21:29:19 +03:00
Vyacheslav Gerasimov
4996d81ea1
Add 183 rule to .bunch
2018-08-03 21:29:19 +03:00
Vyacheslav Gerasimov
5666e1ea93
Update versions.gradle.kts for 183
2018-08-03 21:29:19 +03:00
Vyacheslav Gerasimov
c7a00971fe
Fix source compatibility with 183 platform
2018-08-03 21:29:18 +03:00
Vyacheslav Gerasimov
57963d2e03
Remove asm-shaded sources downloading code since it is not published anymore
2018-08-03 21:29:18 +03:00
Nikolay Krasko
5ba877c144
Add empty test data files to make new test framework in 182 happy
2018-08-03 21:06:05 +03:00
Alexander Udalov
fe2251bfca
Run classifier usage checkers on function types
2018-08-03 18:03:52 +02:00
Nikolay Krasko
759ffafb0a
Render flexible types with enhancement as enhanced in IDE (KT-25622)
...
Main targets for the fix is completion, parameters info, inlay hints and
override/implement.
Other IDE functions might be affected.
#KT-24911 Fixed
#KT-25616 Fixed
#KT-25622 Fixed
2018-08-03 16:00:09 +03:00
Nikolay Krasko
653d1d00de
Option for rendering types with enhancement
2018-08-03 16:00:07 +03:00
Nikolay Krasko
ceeeffd814
Extend list of annotations ignored in parameter info (KT-24911, KT-25622)
...
#KT-24911 Fixed
2018-08-03 16:00:04 +03:00
Nikolay Krasko
10b2229a27
Skip main file while configuring extra files in parameter info test
2018-08-03 16:00:03 +03:00
Nikolay Krasko
ce9e7261a7
Allow kotlin extra files in parameter info tests
2018-08-03 16:00:02 +03:00
Natalia Selezneva
6672fd7bbf
Fix tests for highlighting in scripts with custom script definition
2018-08-03 15:25:35 +03:00
Natalia Selezneva
41dc059da9
Register custom file extension for scripts loaded from script template
2018-08-03 15:25:35 +03:00
Natalia Selezneva
be2d4964fd
Fix testData, add script-runtime
2018-08-03 15:25:35 +03:00
Natalia Selezneva
f71269009a
Refactoring: use KtScript.scriptDefinition instead of KotlinScriptDefinitionProvider.findScriptDefinition if possible
2018-08-03 15:25:35 +03:00
Natalia Selezneva
736361e345
Provide a default scriptDefinition for script
2018-08-03 15:25:35 +03:00