Commit Graph

6111 Commits

Author SHA1 Message Date
Stepan Koltsov 8d1ef3ee6b frontend: do not set FunctionDescriptorImpl.returnValue more than once 2012-06-16 00:22:23 +04:00
Stepan Koltsov 3fd757e097 ClassDescriptor.getConstructor returns Collection 2012-06-16 00:22:23 +04:00
Stepan Koltsov 0b697847b2 ClassDescriptorFromSoruce
getUnsubstitutedPrimaryConstructor is needed only when analyzing source.
Primary constructor only exists in source code.
2012-06-16 00:22:22 +04:00
Stepan Koltsov 2a91e15384 KDocSmallTest 2012-06-16 00:22:22 +04:00
Stepan Koltsov a65bb5b060 kdoc: fix generated by strings 2012-06-16 00:22:22 +04:00
James Strachan 965c433421 add a junit and selenium based test case of the JS compiled version of the kotlin standard ilbrary test cases 2012-06-15 21:09:56 +01:00
Nikolay Krasko 508759ca8b Jet class contributor. Contributes everything that can't be produced with Java. 2012-06-15 21:31:21 +04:00
Nikolay Krasko 0d46b394f3 Fix test 2012-06-15 21:26:11 +04:00
Nikolay Krasko 822a726aef Merge pull request #77 from udalov/kt2212
test for KT-2212
2012-06-15 09:37:48 -07:00
Alexander Udalov c110309bab test for KT-2212
#KT-2212 Fixed
2012-06-15 20:23:07 +04:00
pTalanov 2e531ee809 JetCompilerMessagingTest and K2JSCompilerMessagingTest: tests that launch the cli compiler and check that resulting messages are in correct format 2012-06-15 20:15:14 +04:00
Nikolay Krasko af307e3c6b Merge pull request #76 from udalov/dataflowinfo-or
create copy of typeInfo set in DataFlowInfo.or
2012-06-15 09:02:13 -07:00
Alexander Udalov 3e3b184ba8 create copy of typeInfo set in DataFlowInfo.or 2012-06-15 19:29:38 +04:00
pTalanov ee689cb1ab Safe calls work for native properties
#KT-2209 fixed
2012-06-15 19:08:46 +04:00
pTalanov 3bb14ecd7f Add toString call when interpolating strings 2012-06-15 18:19:10 +04:00
pTalanov 1ba6470e8d Check for undefined whenever check for null 2012-06-15 18:19:08 +04:00
Nikolay Krasko 5f3c3d7e2b Fix test for Windows by converting internal line separators too 2012-06-15 17:19:17 +04:00
Svetlana Isakova b940c1efc1 Merge pull request #75 from udalov/JetTypeInfo
JetTypeInfo
2012-06-15 06:13:58 -07:00
Alexander Udalov 3660d51f34 fix DataFlowInfo.equate 2012-06-15 17:06:55 +04:00
Alexander Udalov b2c42f4cc9 fix DataFlowInfo.or 2012-06-15 17:06:53 +04:00
Alexander Udalov d454086f28 calculate commonDataFlowInfo in visitWhenExpression 2012-06-15 17:06:52 +04:00
Alexander Udalov 650cc4ce40 delete get/setResultingDataFlowInfo 2012-06-15 17:06:49 +04:00
Alexander Udalov d377a7c070 change dataFlowInfo after do-while loop 2012-06-15 17:06:47 +04:00
Alexander Udalov b97d44c480 change dataFlowInfo after while loop 2012-06-15 17:06:46 +04:00
Alexander Udalov f5bb00240a change dataFlowInfo after if-then-else construction 2012-06-15 17:06:44 +04:00
Alexander Udalov efe70955dd dataFlowInfoTraversal tests 2012-06-15 17:06:41 +04:00
Nikolay Krasko 3c1fb3951b Move IfNotParsed interface to separate class 2012-06-15 16:20:03 +04:00
Nikolay Krasko 0171e528da Stubs - remove unnecessary interface extending 2012-06-15 16:18:26 +04:00
Nikolay Krasko 33ecb68c27 Stubs:
- Activate stub behaviour for named functions
- Move information about stubs implementation to the suffix of class names
2012-06-15 16:07:14 +04:00
Nikolay Krasko 98f0919c3d Stubs - Make JetClass use stub base element 2012-06-15 16:07:12 +04:00
Nikolay Krasko e3e1219147 Stubs - Remove usage of JetExpressionImpl where interface should be used 2012-06-15 16:07:12 +04:00
Nikolay Krasko eb135ee81d Stubs - Extract interface for JetTypeParameterListOwner. Old implementation renamed to JetNotStubbedParameterListOwner. 2012-06-15 16:07:11 +04:00
Nikolay Krasko 7b5c9af33c Stubs - Extract interface for JetNamedDeclaration. Old implementation renamed to JetNotStubbedNamedDeclaration. 2012-06-15 16:07:10 +04:00
Nikolay Krasko 0d87012783 Stubs - Extract interface for JetDeclaration 2012-06-15 16:07:08 +04:00
Nikolay Krasko c159bc3a8c Stubs - Extract interface for JetElement and JetExpression (Stub psi element should extend StubBasedPsiElementBase but JetElement extended ASTWrapperPsiElement) 2012-06-15 16:07:07 +04:00
Alexander Udalov c3420e864e get resulting DataFlowInfo from JetTypeInfo instead of facade 2012-06-15 16:05:45 +04:00
Alexander Udalov 3e79d3c834 getType -> getTypeInfo 2012-06-15 16:05:43 +04:00
Alexander Udalov 38e7dde8f6 visitor methods return JetTypeInfo instead of JetType 2012-06-15 16:05:42 +04:00
Stepan Koltsov 309bb96390 remove warnings in kdoc code 2012-06-15 15:55:50 +04:00
Stepan Koltsov ec17f75236 fix kdoc test on windows 2012-06-15 15:41:25 +04:00
pTalanov bdd83d86f6 Modified StdLibTest to check for node types of the created elements 2012-06-15 15:08:42 +04:00
pTalanov c1a2eaf47a Support class objects for native classes 2012-06-15 15:08:41 +04:00
pTalanov ea5f4d428c Refactor NativeInteropTest 2012-06-15 15:08:40 +04:00
James Strachan c6012f1fac applied pull request with thanks https://github.com/JetBrains/kotlin/pull/46 2012-06-15 12:02:17 +01:00
James Strachan d9788f9d3c Merge pull request #65 from udalov/master
File.listFiles(filter)
2012-06-15 03:38:00 -07:00
James Strachan 3872ea8cd0 Merge pull request #48 from Frostman/iter-impr
Small iterables improvement
2012-06-15 03:15:42 -07:00
James Strachan 20a2053027 Merge pull request #74 from zolotov/fold-right-bugfix
Fix foldRight implementation for iterables
2012-06-15 03:12:28 -07:00
Alexander Zolotov ae00b0bb15 Fix foldRight implementation for iterables 2012-06-15 13:22:47 +04:00
Dmitry Jemerov ef1946eee2 fix broken links 2012-06-14 22:04:41 +02:00
Dmitry Jemerov ef2e46abff fix broken link 2012-06-14 22:00:54 +02:00