Commit Graph

8081 Commits

Author SHA1 Message Date
Pavel V. Talanov be0fca3f65 Remove references to javascript annotations from java stdlib
Fix annoying bad annotation in repository
2012-10-01 16:21:06 +04:00
Pavel V. Talanov efe0c83872 Delete some strange code left (accidentally?) for the purpose of testing KT-1515. 2012-10-01 16:17:42 +04:00
Pavel V. Talanov 90ce15d96f Modify test for KT-1515 to actually test using javaClass in another package as stated in the request.
NOTE: not 100% that this test actually covers the corresponding fix by Alex Tkachman.
2012-10-01 16:14:40 +04:00
Andrey Breslav 023f714cbf @NotNull for Pattern.compile 2012-09-29 02:26:44 +04:00
Andrey Breslav 981d23ec0f Fixed some annotations afetr the fix in 356565c 2012-09-28 20:45:46 +04:00
Andrey Breslav ff8e851f46 DriverManager fixed in mockJDK: an up-to-date version with generics put it
#KT-2850 Fixed
2012-09-28 20:04:01 +04:00
Andrey Breslav 2246755488 Fix tests (inconsistency in annotations) 2012-09-28 19:20:15 +04:00
Andrey Breslav 9fea54ae1c Escape < and > in annotations 2012-09-28 18:42:12 +04:00
Andrey Breslav 02d9683805 Erroneous annotations fixed/removed 2012-09-28 15:52:48 +04:00
Nikolay Krasko 15a66dccef Move anonymous class to separate file 2012-09-27 18:52:59 +04:00
Nikolay Krasko 86d8be76cb EA-39162 Exception while trying to wrap method with default parameters 2012-09-27 18:52:58 +04:00
Nikolay Krasko 24dc31bd9a More information about errors in wrapping functions 2012-09-27 18:52:57 +04:00
Nikolay Krasko f943aa48a0 Change check for function slice rewrite with explicit guard 2012-09-27 18:52:56 +04:00
Nikolay Krasko 7b60c016f9 EA-36390 Guard rewriting constructor in slice 2012-09-27 18:52:55 +04:00
Evgeny Gerashchenko 0d7544c6a9 Using JetValueParameterAnnotation factory method instead of constructor.
Made constructor private.
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko 0012dd49da Minor. 2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko 7aaffd4037 Private constructors. 2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko 6be9fb1017 EA-39553 - NPE: AlternativeSignatureData.<init> 2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko 0d116be2cc Separated 'initialized' and 'flags' fields to avoid confusing. 2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko 44c1eb0594 Added @NotNull annotations. 2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko 356565c098 Fixed some annotations to fix test. 2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko 292af9eea1 Allowed changing variance from 'invariant' to 'in' and 'out' in alternative signatures. 2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko 8c7d1b5dd0 Added test checking that all IDEA's @NotNull external annotations for JDK are reflected in Kotlin's annotations.
#KT-2778 fixed
2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko 128e5580c4 Minor. @Nullable/@NotNull annotations. 2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko 4b3364508b Added test checking that external annotations for JDK don't contain errors.
#KT-2778 in progress
2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko 4033c9f835 Saving alternative signature parsing errors to binding trace. 2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko 52450f0f98 Removed invalid external annotation for non-existing java.util.Iterable class. Annotation for java.lang.Iterable seems to be unnecessary, too, because it is mapped to jet.Iterable. 2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko 318863a79f KT-2666 Remove workaround for CME in IDEA code after updating to IDEA 122.260+
#KT-2666 fixed
2012-09-27 18:27:29 +04:00
Alexander Udalov f71cf83b8e Fix null-check for generated light class in definitions search (EA-39485) 2012-09-27 17:49:18 +04:00
Alexander Udalov 38a42bdb79 Do not wrap built-in function in JetLightClass (EA-38770)
Built-in top-level functions are located in jet.namespace class.
JetStandardClasses.isStandardClass() now checks that a given fqName starts with
"jet.", instead of searching it in the standard scope, to prevent this kind of
errors in the future
2012-09-27 16:30:59 +04:00
Alexander Udalov acf8702ccf KT-2822 Can't make a super call from an object literal
#KT-2822 Fixed
2012-09-27 16:30:58 +04:00
Andrey Breslav 66359894ee Additional tests for new behavior of getOrElse() and getOrPut() 2012-09-27 14:47:01 +04:00
Andrey Breslav 2a76f6df14 Compilation fixed 2012-09-27 14:35:23 +04:00
Alex Tkachman 57c27bdd37 jdk annotations for some java.sql methods, related cleanup in stdlib & tests 2012-09-27 12:01:54 +02:00
Andrey Breslav c8e711f84b getOrElse() and getOrPut() fixed to respect how maps work with nulls 2012-09-27 13:52:05 +04:00
Alex Tkachman 1b37f13a34 annotations for java.util.ServiceLoader
remove some unnecessary !! from stdlib
2012-09-27 06:43:13 +02:00
Alex Tkachman 804e3769ff remove some unnecessary !! from stdlib 2012-09-26 19:19:44 +02:00
Alex Tkachman e2d514907a annotations for j.u.c.locks + related fixes of tests 2012-09-26 18:52:46 +02:00
Alex Tkachman 7ed2126ebb tests should not ignore jdk-annotation dir 2012-09-26 18:48:53 +02:00
Svetlana Isakova ca2e21afc5 Pair made covariant 2012-09-26 20:39:29 +04:00
Alex Tkachman c284a7bb70 annotations for java.lang.Runtime 2012-09-26 15:35:40 +02:00
Alex Tkachman 732eb9d145 annotations for
- java.util.concurrent.Executor
- java.util.concurrent.Executors
- java.util.concurrent.ExecutorService
2012-09-26 14:53:17 +02:00
Alex Tkachman fafa4ab8dc more annotations for java.lang.Class 2012-09-26 14:44:22 +02:00
Svetlana Isakova 0c89c57a10 optimize imports in injectors rollback 2012-09-26 15:23:59 +04:00
Svetlana Isakova 67ec48eaa6 KT-2829 Local variables used only in multi-declaration are marked as unused
#KT-2829 fixed
2012-09-26 15:17:26 +04:00
Andrey Breslav 92ac865c72 KT-2819 Duplicate toString() method generated in data class
#KT-2819 Fixed
2012-09-26 12:32:16 +04:00
James Strachan b5145f1a87 allow mapValues() to be used on a Map not just a MutableMap 2012-09-26 09:04:08 +01:00
Alex Tkachman f519913d8a annotations for java.lang.Class 2012-09-26 08:16:40 +02:00
Leonid Shalupov 5d07127ca3 fix CR/LF 2012-09-25 20:48:48 +04:00
Leonid Shalupov 88505dc73f publish maven artifacts script 2012-09-25 20:47:51 +04:00