Mikhail Zarechenskiy
|
4b3ffd9418
|
If all candidates are invisible then don't report ambiguity
#KT-10045 Fixed
|
2017-06-22 13:41:28 +03:00 |
|
Dmitry Petrov
|
77b7128689
|
Check conflicting overloads for generic signatures.
|
2016-03-03 18:26:09 +03:00 |
|
Dmitry Petrov
|
edf6a2142b
|
Check local function declarations for overload conflicts.
In PSI unifier tests, disable errors for tests on local functions (as irrelevant).
|
2016-02-12 09:54:21 +03:00 |
|
Dmitry Petrov
|
5968ce96df
|
KT-10939 CANNOT_COMPLETE_RESOLVE for inherited generic interface method
'original' for value parameters of fake override is not a value parameter of unsubstituted fake override.
Match value parameters by index.
|
2016-02-08 10:08:35 +03:00 |
|
Stanislav Erokhin
|
210c9ab3db
|
Minor. Added regression tests for: KT-3927, KT-9522, KT-10036, KT-7440, KT-9682, KT-9808, KT-9517, KT-9810, KT-9345.
|
2016-01-25 19:13:32 +03:00 |
|
Dmitry Petrov
|
74c13906ed
|
Drop "substitute with upper bounds" mode for calls with mapped arguments
(we don't need it since we build constraint system for generic types).
Cleanup tests.
|
2015-12-30 10:44:01 +03:00 |
|
Dmitry Petrov
|
02daeac41b
|
Use constraint system for comparing for specificity against a generic signature.
Drop "discrimiate generics" mode where it's unneeded.
|
2015-12-30 10:44:00 +03:00 |
|
Alexander Udalov
|
bed75e8af2
|
Remove some unjustified usages of TypeParameterDescriptor#getUpperBoundsAsType
|
2015-10-28 19:12:24 +03:00 |
|
Alexander Udalov
|
426bddb54e
|
Move OverridingUtil#getUpperBound to OverloadUtil, add tests on overloads
|
2015-10-28 19:12:05 +03:00 |
|
Denis Zharkov
|
f0e3fd617d
|
Adjust testData to CharSequence.length transformation
|
2015-10-14 20:39:35 +03:00 |
|
Michael Nedzelsky
|
bc5c9065d2
|
fix tests in org.jetbrains.kotlin.checkers
|
2015-09-08 02:04:32 +03:00 |
|
Stanislav Erokhin
|
d015f713cb
|
KT-6244 Overloads with no default parameters should take over ones with defaults
#KT-6244 Fixed
|
2015-09-01 23:37:43 +03:00 |
|
Yan Zhulanow
|
2ce9903356
|
Fix tests
|
2015-08-31 15:33:13 +03:00 |
|
Alexey Sedunov
|
1ea2c24562
|
Light Classes: Primary constructor fixes
|
2015-06-11 13:52:48 +03:00 |
|
Pavel V. Talanov
|
d2592e4a2c
|
Companion objects have public visibility by default
#KT-7114 Fixed
|
2015-06-02 16:23:03 +03:00 |
|
Svetlana Isakova
|
14c2690447
|
Distinguish between no declared arguments and an empty argument list
in a function literal
If there are no arguments, any number of them might be expected
|
2015-05-26 15:05:03 +03:00 |
|
Dmitry Jemerov
|
4bdf598bfe
|
compiler testdata: s/trait/interface
|
2015-05-12 19:43:17 +02:00 |
|
Dmitry Jemerov
|
9975bb8935
|
replace 'trait' keyword with 'interface' in user-visible messages and code generation tools
|
2015-05-12 11:49:37 +02:00 |
|
Evgeny Gerashchenko
|
eeeb741d42
|
Added test for obsolete bug and removed workaround in code.
|
2015-04-08 15:14:16 +03:00 |
|
Svetlana Isakova
|
61d0bcdf76
|
KT-7068 None of the following functions can be called with two functions with extention function parameter
#KT-7068 Fixed
|
2015-04-01 11:57:15 +03:00 |
|
Pavel V. Talanov
|
06916d98c6
|
default -> companion: replace all mentions of default and default object
|
2015-03-17 15:47:39 +03:00 |
|
Pavel V. Talanov
|
59f192ef90
|
Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
|
2015-03-06 19:36:54 +03:00 |
|
Pavel V. Talanov
|
7b837e2631
|
Updata test data: txt files for diagnostics tests
|
2015-02-16 15:38:36 +03:00 |
|
Andrey Breslav
|
0eee83b6ec
|
Lazy logs removed
|
2014-11-21 18:59:45 +03:00 |
|
Svetlana Isakova
|
2a83053355
|
Updated lazy log tests
|
2014-11-21 14:02:45 +03:00 |
|
Stanislav Erokhin
|
b7c473f59e
|
Update lazy.log files
|
2014-11-17 17:45:01 +03:00 |
|
Alexander Udalov
|
4f0d83a7fe
|
Update lazy logs after field rename
|
2014-11-11 18:35:39 +03:00 |
|
Andrey Breslav
|
4892369cf4
|
Diagnostic tests are logging their lazy activity
|
2014-11-10 17:24:04 +02:00 |
|
Alexander Udalov
|
3a8ad45dec
|
Append newline to EOF for .txt test data files
Reverts and fixes 102f0d3
|
2014-10-21 03:18:27 +04:00 |
|
Nikolay Krasko
|
e796f88b38
|
Regenerate test data with constructed descriptors for diagnostics tests
|
2014-09-18 17:58:23 +04:00 |
|
Alexander Udalov
|
d78d4bc44c
|
Disallow extension properties with backing fields
#KT-1682 Fixed
|
2014-05-29 21:24:05 +04:00 |
|
Evgeny Gerashchenko
|
958f7c862d
|
Got rid of "namespace" word in test data.
|
2014-01-14 18:06:50 +04:00 |
|
Evgeny Gerashchenko
|
0fee69fe07
|
Prioritized synthetic and not synthetic functions.
|
2013-03-28 20:07:47 +04:00 |
|
Nikolay Krasko
|
9dedc6d2a9
|
KT-1998 Strange "Overload resolution ambiguity"
#KT-1998 Fixed
|
2013-02-11 16:09:24 +04:00 |
|
Andrey Breslav
|
3d8d92c7d3
|
JetDiagnosticsTest migrated to TestGenerator
- test data files renamed from *.jet to *.kt
|
2012-07-10 14:48:11 +04:00 |
|
Stepan Koltsov
|
ea8eb7412a
|
kill redeclaration handler in ClassDescriptor
|
2012-02-19 22:02:37 +04:00 |
|
Stepan Koltsov
|
842a70ca66
|
report conflicting overloads in functions with same parameters different type parameters
test case:
===
class Aaa() {
fun f() = 1
fun <P> f() = 1
}
===
|
2012-02-18 00:33:37 +04:00 |
|
Stepan Koltsov
|
3b56b90a7c
|
split ConflictingOverloads.jet test, add property overload conflict test
|
2012-02-18 00:33:26 +04:00 |
|