Commit Graph

5481 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 87ce25d10e Added test case in LibraryNavigationRegressionTest to test references to library sources for functions with vararg parameter. 2012-05-21 19:21:04 +04:00
Evgeny Gerashchenko c23b9fc207 Extracted method in LibraryNavigationRegressionTest. 2012-05-21 19:21:04 +04:00
Stepan Koltsov fdb2b98b0c more di in jvm backend 2012-05-21 19:20:32 +04:00
Stepan Koltsov 99cc26866e jvm backend: use JvmClassName instead of String 2012-05-21 19:20:23 +04:00
Stepan Koltsov 724f69bced jvm backend: refactoring artifact 2012-05-21 19:18:22 +04:00
Svetlana Isakova c2385407e0 KT-1942 Package local members from Java are visible in subclasses
#KT-1942 fixed
2012-05-21 18:32:19 +04:00
Alexander.Podkhalyuzin 8db0546052 Do not check function names in scope to suggest name for introduce variable refactoring (local values can overload function names from upper scopes). 2012-05-21 18:29:01 +04:00
Alexander.Podkhalyuzin 37fa4a1bb8 cleanup 2012-05-21 17:40:26 +04:00
Evgeny Gerashchenko 640fca42a4 Fixed navigation to library sources when function has vararg parameter. 2012-05-21 16:42:00 +04:00
Evgeny Gerashchenko c57dbb3895 Reformatted JetSourceNavigationHelper 2012-05-21 16:42:00 +04:00
Nikolay Krasko 91e150157a Merge pull request #57 from maxmanuylov/KT-2041
JetRunConfiguration should store its settings in the same format as Java...
2012-05-21 04:55:40 -07:00
Maxim Manuylov 8793dee390 JetRunConfiguration should store its settings in the same format as Java's ApplicationConfiguration to be able to reuse code in JPS #KT-2041 Fixed 2012-05-20 01:54:00 +02:00
Stepan Koltsov f9515e1619 exception messages to upper case 2012-05-19 19:52:53 +04:00
Stepan Koltsov 527ce1ad93 bring variable into narrower scope 2012-05-19 00:37:27 +04:00
Stepan Koltsov c9ff920f8a JetDiagnosticsTest: no hardcoded paths and .jet extension 2012-05-19 00:36:27 +04:00
Stepan Koltsov 4cf2e7bd3d ClassCodegen is stateless, put it into context 2012-05-19 00:23:59 +04:00
James Strachan 1da55747ff Merge branch 'master' of github.com:JetBrains/kotlin 2012-05-18 19:50:45 +01:00
James Strachan cf6622b4fa added workaround to maven compiler bug; we may want to throw an exception though if its really a problem 2012-05-18 19:50:27 +01:00
James Strachan 06f8e27d78 added better validation to throw more meaningful error message if a file is null 2012-05-18 19:48:47 +01:00
Evgeny Gerashchenko 93b8a5ed5e Fixed KT-2019 Unit test runner: navigation by double click from a test to source code does not work
#KT-2019 fixed
2012-05-18 20:55:56 +04:00
Evgeny Gerashchenko a6cdb263e2 Set valid sources for junit-plugin library. 2012-05-18 20:51:39 +04:00
James Strachan 08a45ef346 Merge branch 'master' of github.com:JetBrains/kotlin 2012-05-18 15:18:24 +01:00
Svetlana Isakova 9c9149d3e6 ExpressionTyping* refactoring
removed expectedReturnType
inlined unnecessary checkFunctionReturnType functions
2012-05-18 16:37:25 +04:00
Stepan Koltsov cfa2425f3d JetParsingTest: allow custom file extensions, simplify paths 2012-05-18 15:27:03 +04:00
Svetlana Isakova 2d601cf4a2 Frontend part of KT-910 Type of try/catch/finally 2012-05-18 15:20:37 +04:00
Svetlana Isakova b49fa2ab82 KT-1977 Wrong 'unused expression' in catch
#KT-1977 fixed
2012-05-18 15:19:38 +04:00
Stepan Koltsov ff2b190f2d shared copy of empty ImmutableArrayList 2012-05-18 15:04:38 +04:00
Stepan Koltsov cdaf8523ed use internal val instead of fun 2012-05-18 15:04:01 +04:00
Stepan Koltsov e2a875286b ImmutableArrayList.subList: return this if fromIndex = 0 and toIndex = length 2012-05-18 15:03:10 +04:00
Stepan Koltsov 32f83f0587 ImmutableArrayList: better exception types and messages 2012-05-18 15:02:53 +04:00
Stepan Koltsov 4273eea502 make listBuilder public 2012-05-18 15:02:32 +04:00
Stepan Koltsov c40bb8c9b3 ImmutableArrayList and listBuilder() prototype
TODO: lots of improvements, documentation, tests
2012-05-17 16:37:21 +04:00
Stepan Koltsov 942777205c Array.copyOf may produce nulls 2012-05-17 16:37:00 +04:00
Evgeny Gerashchenko 108dd156af Creating library under project directory in library tests. Hope this prevents them from blinking. 2012-05-16 21:07:44 +04:00
Evgeny Gerashchenko 979252ee43 Added tooltips on hovering declaration names. 2012-05-16 19:57:03 +04:00
Evgeny Gerashchenko 41547488a6 Enabled "Field may be final" inspection. 2012-05-16 19:57:02 +04:00
pTalanov ce896f931a Issue related to KT-1962
Correctly reference this object in wrapped function literal
2012-05-16 19:30:23 +04:00
pTalanov 31a1aefeb5 K2JSBrowserProgramRunner copies output JavaScript file from output dir instead of generating JavaScript againg 2012-05-16 18:17:24 +04:00
pTalanov c8fe0080c7 Fix compilation for maven build 2012-05-16 17:43:12 +04:00
pTalanov feaf218836 Cosmetics 2012-05-16 17:43:11 +04:00
Evgeny Gerashchenko 3b95ba798e Added navigation to YouTrack issues from commit messages. 2012-05-16 17:12:06 +04:00
pTalanov 53ebe5325f Move util methods from K2JSTranslator to FacadeUtils class 2012-05-16 15:18:40 +04:00
pTalanov fe0295c7bb Add facade method to AnalyzingFacadeForJs (for Web Demo) 2012-05-16 14:24:03 +04:00
Evgeny Gerashchenko 58a3ec1e73 Showing receiver types in the IDE errors for NONE_APPLICABLE/AMBIGUITY
#KT-1997 fixed
2012-05-16 13:24:39 +04:00
pTalanov 82426e605d Fix symbol in comments 2012-05-15 22:48:55 +04:00
Stepan Koltsov 67589e9d86 simplify code in OverrideResolver 2012-05-15 22:45:11 +04:00
Stepan Koltsov 448260fc3e KT-1996 Missing ABSTRACT_MEMBER_NOT_IMPLEMENTED when two supertypes contains same abstract member
===
trait Foo {
    fun foo(): Unit
}

trait Bar {
    fun foo(): Unit
}

class Baz : Foo, Bar // no error here
===

#KT-1996 fixed
2012-05-15 22:45:11 +04:00
Stepan Koltsov 67b19c1881 fix generate.javadoc property 2012-05-15 22:45:11 +04:00
pTalanov 6d414ba222 Mark the tests which are failing with EcmaVersion.v5 and exclude them 2012-05-15 22:20:15 +04:00
pTalanov 43c168baef Make js.tests perform each test with different Ecma versions
This leads to tests failing
2012-05-15 22:20:15 +04:00