Commit Graph

6080 Commits

Author SHA1 Message Date
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
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
Stepan Koltsov f074d493c8 work around broken kdoc test 2012-06-14 22:44:44 +04:00
Stepan Koltsov 4ebefd756d Revert "do not rename classes when -Dshrink=false"
It didn't work because KDoc explicitly uses renamed classes like
org.jetbrains.jet.internal.com.intellij.psi.PsiFile

This reverts commit eeac9a8afe.
2012-06-14 21:28:50 +04:00
Stepan Koltsov eeac9a8afe do not rename classes when -Dshrink=false
(need for debugging)
2012-06-14 21:14:25 +04:00
Stepan Koltsov c30c3df95e vim conf 2012-06-14 21:14:18 +04:00
Stepan Koltsov 839413930b better than NPE 2012-06-14 19:38:03 +04:00
Stepan Koltsov e4dfbc5726 check compiler exit code in test 2012-06-14 19:31:34 +04:00
Stepan Koltsov 85737609b2 missing file 2012-06-14 18:49:31 +04:00
James Strachan 3546a9ff54 added an integration test that compiles the JS unit tests and generates the QUnit test case 2012-06-14 15:32:57 +01:00
Stepan Koltsov 1652d1c009 clean context to analyze next file
so REPL can be reused after error

this patch adds one more ugly hack to REPL
2012-06-14 18:30:49 +04:00
Stepan Koltsov 1c306eefd8 test for repl evaluation exception 2012-06-14 18:30:49 +04:00
Stepan Koltsov 970c2ae1f9 do not exit repl if something went wrong 2012-06-14 18:30:49 +04:00
Stepan Koltsov e0c389b239 error visitor 2012-06-14 18:30:48 +04:00
James Strachan 3adbb2fdde fixed broken source line number links 2012-06-14 14:52:00 +01:00
Natalia.Ukhorskaya 3e777da3ba Fix line separators in tests for windows 2012-06-14 17:39:42 +04:00
Natalia.Ukhorskaya 4826723c78 Add check for syntactic errors when analyzing files with error checking 2012-06-14 17:38:42 +04:00
Stepan Koltsov b279ce7f9e Revert "poor man Nothing"
This reverts commit e113294185.
2012-06-14 17:27:40 +04:00
Stepan Koltsov a46bd18103 normalize strings in CliTest to fix test on windows 2012-06-14 16:33:44 +04:00
Stepan Koltsov 8c4ca5022d code conventions 2012-06-14 16:33:43 +04:00
Svetlana Isakova bf05e8dd79 no error for elements with ide templates 2012-06-14 16:06:57 +04:00
Svetlana Isakova 8b1c76992f KT-2142 function local classes do not work
#KT-2142 fixed
except KT-2277 Check overloads for local declarations
2012-06-14 16:06:57 +04:00
Stepan Koltsov d0cd37528a move some cli tests from CompilerSmokeTest to CliTest 2012-06-14 16:05:16 +04:00
Stepan Koltsov e113294185 poor man Nothing 2012-06-14 16:05:16 +04:00
Stepan Koltsov 40fe33045d cli test template 2012-06-14 15:29:17 +04:00
Stepan Koltsov 4e99edccaa TmpdirRule
junit4 @Rule to create tmp dir from idea SDK
2012-06-14 15:29:16 +04:00
Stepan Koltsov 9db8a63099 rename test cli.jvm.compiler to jvm.compiler
Tests has nothing to do with CLI

TODO: move codegen tests
2012-06-14 14:54:00 +04:00
Stepan Koltsov 13431c0f35 move TestCaseWithTmpdir* into test subpackage 2012-06-14 14:54:00 +04:00
pTalanov a14dffb362 Do not package the whole js.libraries/src folder into plugin. Package only those that are used in examples.
# KT-2273 Fixed
2012-06-14 14:30:55 +04:00
Leonid Shalupov 03ee80a767 Merge pull request #73 from lalyos/master
maven hello-world example is extended with readme and to be able to run as mvn exec:java
2012-06-14 03:11:44 -07:00
Stepan Koltsov 1d0ef01eea REPL overload resolution ambiguity
Fix overload resolution ambiguity in REPL. Note, resolution for
functions declared in script is very different from regular programs:
in scripts function declared later wins. See
functionOverloadResolutionAnyBeatsString for example.

#KT-2272 Fixed
2012-06-14 14:06:17 +04:00
Stepan Koltsov 441e975323 fix order of parameters in assert in ReplInterpreterTest 2012-06-14 14:06:17 +04:00
Andrey Breslav a7aff72a4d Enum test case extracted: testMethod added 2012-06-14 13:01:33 +04:00