Michael Bogdanov
4b8017e34b
Fix for KT-7999: Wrong result when use nullable types as reified parameter, KT-8043: Unsafe cast to reified parameter throws NPE instead of TypeCastException
...
#KT-7999 Fixed
#KT-8043 Fixed
~
2015-12-03 15:09:54 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +03:00
Natalia Ukhorskaya
cb80a3e83a
Write lineNumber for function literal with void return value
...
#KT-9865 Fixed
2015-11-26 11:39:18 +03:00
Michael Bogdanov
3da463be27
Fix for KT-10137: Internal error: couldn't inline method call on lambda taking extension function parameter
...
#KT-10137 Fixed
2015-11-24 16:32:06 +03:00
Michael Bogdanov
d4369c1df9
Keep inline transformation invariant: all captured parameters stored in topmost lambda/object
...
Fix for KT-8668: java.lang.ClassFormatError: Duplicate field name&signature (based on property access)
#KT-8668 Fixed
2015-11-24 16:32:05 +03:00
Mikhail Glukhikh
cd1b58f2eb
Final in interfaces: deprecation ---> error + relevant test fixes
2015-11-20 15:43:19 +03:00
Zalim Bashorov
28366a0bf4
Fix refer to classes from default package in SMAP
2015-11-11 22:59:05 +03:00
Michael Bogdanov
3651ec9294
Support access to protected members within inline functions
2015-11-11 14:34:48 +03:00
Michael Bogdanov
5a8ead0092
Fix for KT-8204: java.lang.VerifyError for super method invocation in inline function
...
#KT-8204 Fixed
2015-11-11 14:34:47 +03:00
Michael Bogdanov
0619ef47ac
Fix for KT-9877: CompilationError: Cannot pop operand of empty stack
...
#KT-9877 Fixed
2015-11-06 11:46:13 +03:00
Michael Bogdanov
f3092bf390
Fix for KT-9637: Runtime crash when using class literal in inline functions with reified type parameters
...
#KT-9637 Fixed
2015-10-30 09:39:10 +03:00
Michael Bogdanov
34fccc6dae
Fix for KT-6990: inline reified doesn't inline call in some cases
...
#KT-6990 Fixed
2015-10-30 09:39:09 +03:00
Michael Bogdanov
33bf314518
Fix for KT-6552 IllegalAccessError in inline function with "when" over enum across modules
...
#KT-6552 Fixed
2015-10-30 09:39:09 +03:00
Michael Bogdanov
63f7f90521
Test for obsolete KT-8047
...
#KT-8047 Obsolete
2015-10-28 14:43:05 +03:00
Michael Bogdanov
a7b3c70d21
Fix for KT-7017: Reified type referenced in object literal crashes at runtime
...
#KT-7017 Fixed
2015-10-22 16:06:13 +03:00
Michael Bogdanov
3e19514099
Test for obsolete KT-6988: java.lang.VerifyError: Bad return caused by inline reified
...
#KT-6988 Obsolete
2015-10-22 16:06:10 +03:00
Michael Bogdanov
f4d3ecf8e6
Generate public constructor for anonymous objects if it inside inline fun
...
#KT-9331 Fixed
2015-10-21 17:12:17 +03:00
Michael Bogdanov
1d84103cce
Test for obsolete KT-6453
...
#KT-6453 Obsolete
2015-10-20 19:19:43 +03:00
Michael Bogdanov
378233e1f5
Test for obsolete KT-8095
...
#KT-8095 Obsolete
2015-10-20 19:19:42 +03:00
Michael Bogdanov
32d51af5dd
Test for obsolete KT-8094
...
#KT-8094 Obsolete
2015-10-20 19:19:42 +03:00
Michael Bogdanov
3b02498ca8
Tests for private members and accessors for them
2015-10-18 17:53:28 +03:00
Michael Bogdanov
d78b59eb73
Package private visibility for private top-level members
2015-10-14 16:03:54 +03:00
Dmitry Petrov
7e9e427d4c
Java 8 rules for method overrides:
...
- report errors on implementing methods of Any in interfaces
- update testData
~~~
Java 8 override restrictions: interface can't implement a method of 'Any'
- update compiler sources
2015-10-12 14:12:31 +03:00
Michael Bogdanov
882f6113dc
Initial internal member mangling
2015-10-07 18:10:54 +03:00
Dmitry Jemerov
7c20630272
diagnostics for deprecated syntax of function type parameter list
2015-10-06 16:20:47 +02:00
Michael Bogdanov
3806ad65fc
Fixed error with wrong parameter size calculation
2015-10-03 10:53:21 +03:00
Michael Bogdanov
2a19b06874
new tests
2015-10-03 10:53:18 +03:00
Michael Bogdanov
c83a5b8bd5
Proper param propagation in inline
2015-10-03 10:53:17 +03:00
Alexander Udalov
661f4efc68
Forbid callable references to members and extensions with empty LHS
...
This syntax is reserved to be likely used in the future as a shorthand for
"this::foo" where the resulting expression doesn't take the receiver as a
parameter but has "this" already bound to it
2015-10-03 04:37:04 +03:00
Michael Bogdanov
e91c556d06
Fix for wrong local variable table at inlining lambda with finallies
2015-10-02 13:41:41 +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
Michael Nedzelsky
01ece0faa4
Revert "fix tests (internal -> public)"
...
This reverts commit e86bf03e76 .
2015-09-23 17:45:40 +03:00
Denis Zharkov
098f5462eb
Drop inlineOptions and fix forgotten usages
2015-09-23 12:18:12 +03:00
Michael Nedzelsky
e86bf03e76
fix tests (internal -> public)
2015-09-23 07:49:29 +03:00
Ilya Gorbunov
e40a5457e3
Fix deprecations in testData: arrayOf usages.
2015-09-19 04:32:56 +03:00
Denis Zharkov
9dada595b6
Replace deprecated annotations with modifiers in testData
2015-09-18 10:14:41 +03:00
Denis Zharkov
9adde77c47
Replace inlineOption(ONLY_LOCAL_RETURN) with crossinline in testData
2015-09-18 10:14:33 +03:00
Dmitry Petrov
1586a2df8e
Make stdlib work with -Xmultifile-package-facades.
...
Fixed wrong owner mapping in presence of -Xmultifile-package-facades.
Fixed backing field mapping issue.
Added more tests.
2015-09-14 11:26:29 +03:00
Dmitry Petrov
50f83da6da
- call multifile class members (compiling against binaries)
...
- inline multifile class members
2015-09-14 11:25:42 +03:00
Michael Bogdanov
908228a3cf
Test for obsolete KT-8133
...
#KT-8133 Obsolete
2015-09-10 12:43:27 +03:00
Michael Bogdanov
a5f7df3ebf
Fix for KT-9064
...
#KT-9064 Fixed
2015-09-10 11:08:02 +03:00
Michael Bogdanov
912111d237
Fix for KT-8948: CompilationException: Back-end (JVM) Internal error: Couldn't inline method call 'foo' into
...
#KT-8948 Fixed
2015-09-08 11:34:40 +03:00
Michael Nedzelsky
a40c80e90b
fix tests in org.jetbrains.kotlin.codegen.generated
2015-09-08 02:05:09 +03:00
Dmitry Petrov
a47eaa2cb5
Change part class naming scheme
...
update tests depending on part class naming
2015-09-07 16:28:42 +03:00
Mikhail Glukhikh
b2653ad1e9
Deprecated enum syntax removed: most compiler tests
2015-08-10 16:24:12 +03:00
Mikhail Glukhikh
4bd48c4796
Regular modifier checker implemented (initial version). A set of tests fixed accordingly.
...
Most of modifier diagnostic is expressed by REDUNDANT_MODIFIER, INCOMPATIBLE_MODIFIERS, REPEATED_MODIFIER, WRONG_MODIFIER_TARGET, WRONG_MODIFIER_PARENT.
A set of modifier diagnostics is not in use now (but not deleted yet).
2015-08-03 19:41:50 +03:00
Ilya Gorbunov
0e896ea1bb
Drop streams and iterators: correct test data.
2015-06-29 17:06:49 +03:00
Michael Bogdanov
a018e4e12a
Updated exception table generation: support new exception table in non-local returns
2015-06-24 09:48:55 +03:00
Denis Zharkov
c9f79c2d05
Adjust testData: get rid of obsolete annotations
2015-06-12 09:23:31 +03:00