Commit Graph

19 Commits

Author SHA1 Message Date
Andrey Breslav
2351c53dce Test that Javac does not fail on two methods that differ only by return type 2014-06-19 22:11:56 +04:00
Andrey Breslav
705a081919 KT-5214 Annotation to provide platform name to avoid signature conflict
#KT-5214 Fixed
2014-06-10 18:21:36 +04:00
Alexander Udalov
ea31f372aa Check for syntax/diagnostic errors in some tests 2014-05-29 21:24:05 +04:00
Alexander Udalov
2b5bc6b63d Fix logic of forcing method return type to be wrapped
Return type must be wrapped if any super-method in the hierarchy, not just the
direct super-method, returns a reference type (as opposed to a primitive type)

Actually there was a test reflecting this, but it wasn't running because of an
unfixed diagnostic error
2014-05-29 21:24:02 +04:00
Evgeny Gerashchenko
dadc8351b6 Added tests for compiling Java against TraitImpl and extension members. 2014-03-31 22:39:58 +04:00
Alexander Udalov
b6b1f2a94a Minor, package "test" in compileJavaAgainstKotlin testData 2014-03-19 23:24:27 +04:00
Alexander Udalov
8425f2e668 Copy type parameters for JVM function accessors
Otherwise generic signature wasn't correctly written to accessors, resulting in
classfiles not being valid and javac failing to compile Java sources against
them
2014-02-26 21:22:57 +04:00
Andrey Breslav
ab7d8a7734 Tests for abstract functions with default arguments 2014-01-23 17:59:18 +04:00
Andrey Breslav
4ab0b00bd3 Support [throws] annotation 2014-01-23 17:59:18 +04:00
Andrey Breslav
b66a76e7d2 xxx$default() function should be visible from Java 2014-01-23 17:59:17 +04:00
Andrey Breslav
39234b4d3e Delegated members should not be synthetic
Otherwise they are invisible to Java code
2014-01-23 17:59:17 +04:00
Alexander Udalov
713c6f13ae Fix primitive override problem in Kotlin-Java inheritance
See the comment in JetTypeMapper
2013-12-30 06:41:09 +04:00
Natalia.Ukhorskaya
47abdcf565 Rename namespace class to {package.name}Package
Conflicts:

	compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Andrey Breslav
889ea107f6 Reflect Kotlin's declaration-site variance in Java signatures 2012-11-24 15:59:15 +04:00
Svetlana Isakova
7d37df5f38 tests changes after collections mapping 2012-09-05 18:55:16 +04:00
Alex Tkachman
8b622f97f4 getting rid of TypeInfo 2012-02-21 14:54:00 +02:00
Andrey Breslav
3b0ca42e0b jet.typeinfo.TypeInfo -> jet.TypeInfo 2011-12-26 18:59:48 +04:00
Stepan Koltsov
b1cf0ffcee more class and method signatures, use writer wrapper
(not yet complete)

own writer will be used to write both java and kotlin signatures
2011-12-13 18:28:47 +04:00
Stepan Koltsov
ae6c8d6f78 move compileJavaAgainstKotlin tests 2011-12-11 22:27:55 +04:00