Evgeny Gerashchenko
e4f2fdc5f2
Better names for THIS$0 and RECEIVER$0 constants.
2012-10-01 21:23:09 +04:00
Evgeny Gerashchenko
3d8b6e758a
Typo.
2012-10-01 21:23:09 +04:00
pTalanov
5bc4fc458a
Don't call redundant toString for variables of type Int
...
Refactor StringTemplateTranslator a little
2012-10-01 21:15:13 +04:00
develar
b7b8c5a757
Don't call toString for simple number literal and string
...
Cherry-picked https://github.com/develar/kotlin/commit/e93f2d6f52fe640f6523416377b3ff9be67f76dc
2012-10-01 20:44:36 +04:00
pTalanov
622ad8cbb4
Add checks that test that there are no redundant toString calls for numbers and strings in string templates
2012-10-01 20:42:44 +04:00
pTalanov
0a1881d78e
Cosmetics refactoring in StringTest
2012-10-01 20:15:49 +04:00
pTalanov
03c4095b1f
SpecialFiles updated for android tests
2012-10-01 20:10:47 +04:00
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