Commit Graph

5189 Commits

Author SHA1 Message Date
Stepan Koltsov c23feab6d1 JetLiteFixture: assign to myEnvironment only once 2012-05-01 22:32:08 +04:00
Stepan Koltsov 0c7401c932 add java.nio.charset.Charset to mock JDK 2012-05-01 21:47:09 +04:00
Stepan Koltsov 58b706c12e Revert "kotlin runtime must be added to classpath" temporarily
This reverts commit 90910cae34.
2012-05-01 21:22:06 +04:00
Stepan Koltsov d71723131d Revert "enhance tests (mostly codegen)" temporarily
This reverts commit 95f9bcbacb.
2012-05-01 21:21:46 +04:00
Stepan Koltsov 035fd686e0 add -ea to runner
we should definitely make asserts unconditional
2012-05-01 19:22:28 +04:00
Stepan Koltsov 67013cbaf5 fix one more error in error diagnostics 2012-05-01 19:21:44 +04:00
Stepan Koltsov 95f9bcbacb enhance tests (mostly codegen)
* drop dependency on stdlib/alt-headers in the most tests
* assign to myEnvironment at most once in JetLiteFixture
* more tests do not compile runtime
2012-05-01 19:11:48 +04:00
Stepan Koltsov 90910cae34 kotlin runtime must be added to classpath
(not just to library root)
2012-05-01 17:39:56 +04:00
Stepan Koltsov 8278ed8aa5 ImportPath.toString 2012-05-01 17:39:51 +04:00
Svetlana Isakova 028be6a696 stdlib change (after KT-1873 might be restored) 2012-05-01 14:58:08 +04:00
Svetlana Isakova 2bd0be5638 reverted: 'A doubtful try to save compilation' (no more needed) 2012-05-01 14:56:34 +04:00
Leonid Shalupov 8e961e00cc delete obsolete readme on maven plugin 2012-04-30 22:52:21 +04:00
Leonid Shalupov 751092e995 cleanup 2012-04-30 21:43:36 +04:00
Leonid Shalupov 09403a1c6b more jarjar rules 2012-04-30 21:00:20 +04:00
Leonid Shalupov 54fa1f9fbc libraries/runtime: copy runtime module sources locally to help IDEA find them 2012-04-30 20:59:52 +04:00
Leonid Shalupov c5e1225f1c libraries: redundant ${project.basedir} 2012-04-30 20:59:16 +04:00
Stepan Koltsov 20833c690e fix ant dist on mac 2012-04-30 19:31:09 +04:00
Svetlana Isakova 823b6733c2 A doubtful try to save compilation 2012-04-30 16:21:17 +04:00
Svetlana Isakova bd3d90499c stdlib tests temporary revert 2012-04-30 15:44:23 +04:00
Svetlana Isakova 9c0eb285e2 back end test for 'variable as function' call case 2012-04-30 15:44:23 +04:00
Svetlana Isakova 09c065b371 usage 'call.getCallElement' instead of 'call.getCalleeExpression' while 'invisible member' error reporting 2012-04-30 15:44:23 +04:00
Svetlana Isakova 36224dd32c ResolutionCandidate's small change 2012-04-30 15:44:23 +04:00
Svetlana Isakova 2870c7980d ResolvedCallImpl needs temporary trace now 2012-04-30 15:44:23 +04:00
Svetlana Isakova c698f791c8 navigate to variable (not to 'invoke' function) while 'variable as function' call resolve 2012-04-30 15:44:22 +04:00
Svetlana Isakova 2654534ede ChainedTemporaryBindingTrace added 2012-04-30 15:44:22 +04:00
Svetlana Isakova a2e11821de resolvedCalls set instead of multiMap stored in ResolutionTask 2012-04-30 15:44:22 +04:00
Svetlana Isakova a8f959fee8 receiver for second ('invoke') call for 'variable as function' call case added to context 2012-04-30 15:44:22 +04:00
Svetlana Isakova 24082a67d7 correspondence between CallableDescriptorCollector and CallTransformer (special treatment only for function invocations) 2012-04-30 15:44:22 +04:00
Svetlana Isakova 2fa8fd50fc 'getNonMembersByName' instead of 'getExtensionsByName' not to throw out invocation of variables with members-extensions 2012-04-30 15:44:22 +04:00
Svetlana Isakova aeed586fba 'thisObject' is known in 'variable as function' call case, while constructing second 'invoke' call 2012-04-30 15:44:22 +04:00
Svetlana Isakova 5b49869cac changed CallTransformer responsible for resolving second call ('invoke') for 'variable as function' case 2012-04-30 15:44:22 +04:00
Svetlana Isakova e2c7267ecc added VariableAsFunctionResolvedCall containing two calls (for variable and for 'invoke' function) 2012-04-30 15:44:22 +04:00
Svetlana Isakova 28526afbde interface ResolvedCallWithTrace added 2012-04-30 15:44:22 +04:00
Svetlana Isakova 655ac949ba 'invoke' method added to standard function types 2012-04-30 15:44:22 +04:00
Leonid Shalupov a8e3e991cb fix update_dependencies.xml 2012-04-29 20:00:08 +04:00
Leonid Shalupov 57320e85c1 fix update_dependencies.xml 2012-04-29 19:51:08 +04:00
Leonid Shalupov b75c1fc8c9 idea configuration to run integration tests 2012-04-29 19:39:19 +04:00
Leonid Shalupov 4cd2ce81a9 pack compiler into one jar (without js yet) 2012-04-29 19:30:43 +04:00
Leonid Shalupov c484e37b02 integration tests: .gold -> .expected 2012-04-29 15:54:39 +04:00
Andrey Breslav 08de6d8d07 KT-1863 Wrong nullability for class derived from java classes.
#KT-1863 In progress
2012-04-28 23:13:41 +04:00
Andrey Breslav dcc2728f0a @NotNull is needed in tests, bringing it back
Reverting c9edaa6b4f
2012-04-28 23:13:02 +04:00
Stepan Koltsov 98bd8bc90a fix KDoc compilation
we should probably add alt-header for java.lang.Object that specifies
return type of Object.toString to String (without ?)
2012-04-28 20:34:33 +04:00
Stepan Koltsov b24634eb99 actually compile should be on by default
(it is safer)
2012-04-28 20:34:33 +04:00
Stepan Koltsov 661b16359a resolve jdk classes 2012-04-28 17:43:53 +04:00
Stepan Koltsov 7352da34ef resolve type parameters that reference type variables declared after
like

Aaa<B extends Bbb<C>, C>

#KT-1731 fixed
2012-04-28 17:43:53 +04:00
Stepan Koltsov 615330ca75 identified can have last segment "namespace", for instance, javax.xml.namespace 2012-04-28 17:43:53 +04:00
Stepan Koltsov 7af5282a26 resolve generic constructor 2012-04-28 17:43:52 +04:00
Stepan Koltsov 0073959224 intersection of empty types is widest possible type (Any?) 2012-04-28 17:43:52 +04:00
Alex Tkachman f076ff027d KT-729 Need to support arrays as varargs 2012-04-28 10:43:49 +03:00
Alex Tkachman 7b7987ba0d KT-1759 str.plus(str) 2012-04-28 08:09:02 +03:00