Commit Graph

9475 Commits

Author SHA1 Message Date
Alexander Udalov cfce055b37 Introduce fake light class for file of package
Fixes problems related to not working breakpoints (see comment at the top of
the class)

 #KT-3291 Fixed
2013-01-31 20:43:47 +04:00
Andrey Breslav f6a8c5e886 Exit code is COMPILATION_ERROR whenever an error was reported through a message collector 2013-01-31 19:32:54 +04:00
Andrey Breslav e31d5fd3fb "Absent classpath entry" is now a warning 2013-01-31 19:32:54 +04:00
Andrey Breslav bbde38a6dc KT-1360 Vararg bug in front-end 2013-01-31 18:54:37 +04:00
Andrey Breslav 1fcbf1721b Got rid of repeated local variable 2013-01-31 18:46:28 +04:00
Andrey Breslav 2d2c44ca9d KT-2106 Mixed named and positional arguments should be allowed
#KT-2106 Fixed
2013-01-31 15:43:14 +04:00
Andrey Breslav 8fd59feb21 Logic refactored to a finite automaton 2013-01-31 15:43:14 +04:00
Andrey Breslav fdde9b9c49 Methods extracted 2013-01-31 15:43:14 +04:00
Andrey Ponomarev c25b9ff1f3 KT-2734 Wrong icon for enums in the Find class dialog
#KT-2734 Fixed
2013-01-31 15:16:14 +04:00
Andrey Ponomarev cee8473910 KT-2153 Enum classes don't have a "K" overlay on the icon in project view
#KT-2153 Fixed
2013-01-31 15:16:12 +04:00
Svetlana Isakova ba9c455ea1 KT-3301 Inference with several supertypes fails
#KT-3301 fixed
2013-01-30 20:29:30 +04:00
Nikolay Krasko 3c82e80745 Merge pull request #168 from ponomandr/KT-3250
KT-3250 Copyright plugin does not work on Kotlin sources
2013-01-30 08:03:34 -08:00
Evgeny Gerashchenko 07a25a7757 Removed newline after copyrights in generated injectors. 2013-01-30 19:24:16 +04:00
Evgeny Gerashchenko 2ef63035f2 Added newline after copyrights in generated tests. 2013-01-30 19:24:16 +04:00
Evgeny Gerashchenko 57e985b7f1 Generated codegen tests for ranges. 2013-01-30 19:24:15 +04:00
Evgeny Gerashchenko 21c37951d6 Removed old range test which were spread all over the place. 2013-01-30 19:23:51 +04:00
Evgeny Gerashchenko 9c83a2f85f Renamed parameters of contains() in ranges. 2013-01-30 19:23:50 +04:00
Evgeny Gerashchenko 6877722f81 Extracted progressions to separate source file. 2013-01-30 19:23:50 +04:00
Andrey Breslav fd6cb970e4 Correctly return existing provider if it is there 2013-01-30 18:18:52 +04:00
Andrey Breslav 5eb173e8dd Protecting the trace with a lock 2013-01-30 18:02:05 +04:00
Andrey Breslav c2822fdad7 Declaration providers and resolve session are protected by a storage manager 2013-01-30 18:02:04 +04:00
Andrey Breslav 222c237cbc Using PsiBasedClassMemberDeclarationProvider in StubDeclarationProviderFactory 2013-01-30 18:02:04 +04:00
Andrey Breslav 4cf5bc536c Using project and search scope for stub-based declaration providers
+ using indices for getAllPackages and isPackageDeclared()
2013-01-30 18:02:04 +04:00
Andrey Breslav ae48edfb5f Unused abstraction removed 2013-01-30 18:02:04 +04:00
Andrey Breslav 9c9599d65f Unused class removed 2013-01-30 18:02:04 +04:00
Andrey Breslav d4058a8a31 Commented code removed 2013-01-30 18:02:04 +04:00
Andrey Breslav 7404105247 Storage manager introduced
Will be used to make lazily computed data thread-safe
2013-01-30 18:02:04 +04:00
Andrey Breslav e7ea3d9667 LazyValue renamed to avoid confusion 2013-01-30 18:02:04 +04:00
Andrey Breslav 17b4a5a15c EA-43240 - AIOOBE: ClassReader.a
Index out of bounds from ASM
2013-01-30 18:02:03 +04:00
Andrey Breslav d633dd7bb7 EA-43239 - assert: JavaFileManagerBase.findClass
Moved the check to a post-startup activity
2013-01-30 18:01:12 +04:00
Andrey Breslav d31e53fa59 EA-41207 - IAE: NameUtils.requireIdentifier
Test data files renamed
2013-01-30 12:28:45 +04:00
Andrey Breslav cd56b2f401 File extension filtering cleaned up in tests 2013-01-30 12:28:45 +04:00
Evgeny Gerashchenko 58f37f38f4 Renamed NumberSequence to Progression. 2013-01-29 22:55:10 +04:00
Evgeny Gerashchenko dd4b508213 Adapted usage of failsWith(). 2013-01-29 22:55:10 +04:00
Evgeny Gerashchenko 719ed4c795 failsWith is really checking for exception class. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 66ce736a81 Moved failsWith to TestJVM. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 63484e28e0 Renamed Iterable.contains to containsItem, to avoid puzzling.
Otherwise, you could accidentally look for Double in List<Int>, or even for Int in ShortSequence (by stupid iterating).
2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 2fd1430329 Tests for all kinds of ranges and sequences. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko b7c4b9e263 Added primitive contains() to float and double ranges. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 111dd13d39 Moved error checking of built-ins to more direct place. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 18d1d31042 Removed compiling builtins in ant script. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 6c70c6c32a Removed compiling builtins from tests. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko 0660dfb84c Made N type parameter not Number.
Otherwise it fails with NoSuchMethodError in runtime.
2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko 3eac3cc38c Removed unnecessary methods. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko a24bf67688 Dropped unnecessary primitive iterable traits. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko 72b8c4b3c8 Refactored structure of ranges in JS backend. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko 4a19cd758c Changed JS ranges test so it will fail now. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko 88c304b85f Regenerated serialized builtins. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko ac7477a6c1 Reformatted. 2013-01-29 22:55:07 +04:00
Evgeny Gerashchenko 6d41697af0 Added ComparableRange. 2013-01-29 22:55:07 +04:00