Svetlana Isakova
0dcdaccad1
KT-2640 Provide jet.MutableIterator and jet.MutableIterable
...
#KT-2640 fixed
2012-08-24 15:07:24 +04:00
Andrey Breslav
422b938728
Reverting the change from c8b6ef9c81
2012-08-24 12:47:22 +04:00
Andrey Breslav
017a097094
Fixing compilation (thank you, IDEA's make)
2012-08-24 12:41:43 +04:00
Andrey Breslav
c09ca287ea
Ignore .DS_Store
2012-08-24 12:18:18 +04:00
Andrey Breslav
08bb390820
Project is available in codegen
2012-08-24 12:18:18 +04:00
Nikolay Krasko
607a502fd7
Capture indicator value before moving to another thread
2012-08-24 11:17:28 +04:00
Alex Tkachman
719234b802
codegen contexts work in terms of descriptors in oppose to asm.type
2012-08-23 23:26:03 +03:00
Nikolay Krasko
1a12ef9e07
Recover on EOL for imports
2012-08-24 00:13:16 +04:00
Alex Tkachman
7419b237ba
unneeded parameter inlined
2012-08-23 21:06:08 +03:00
Alex Tkachman
b2d9e02b2c
@NotNull CodegenContext.getThisDescriptor()
2012-08-23 20:05:11 +03:00
Alex Tkachman
05c7f80a14
a bit of nullability cleanup
2012-08-23 19:26:40 +03:00
Alex Tkachman
49c19cd7ed
abstraction issue: HashMap -> Map, ArrayList -> List in parameters
2012-08-23 18:07:22 +03:00
Alex Tkachman
69f5ef2862
always successful asserts removed
2012-08-23 18:05:33 +03:00
Alex Tkachman
08c5032734
nullability tweaks
2012-08-23 18:03:36 +03:00
Alex Tkachman
a11511eaf6
extracted several methods to make code analizable by IDEA
2012-08-23 17:37:20 +03:00
Alex Tkachman
dd8335dcf4
revert auto-applied IDEA fix from generated files
2012-08-23 17:00:47 +03:00
Alex Tkachman
c8b6ef9c81
few method extracted from too complex method
2012-08-23 16:49:04 +03:00
Alex Tkachman
850a00a372
rewrite of too complex method
2012-08-23 16:05:12 +03:00
Alex Tkachman
83e1f6bfdf
methods extracted to decrease method complexity
2012-08-23 15:25:16 +03:00
Alex Tkachman
a2ff62ecf5
condition always true
2012-08-23 15:15:30 +03:00
Alex Tkachman
8fb449660d
redundant cast removed
2012-08-23 15:12:50 +03:00
Alex Tkachman
cb03d6c92b
parameters marked as Nullable
2012-08-23 15:11:31 +03:00
Alex Tkachman
03eb9c1e70
useless code removed
2012-08-23 15:10:24 +03:00
Alex Tkachman
a42842889e
final modifiers added as suggested by IDEA
2012-08-23 14:57:21 +03:00
Alex Tkachman
179597156f
weaken declaration access as suggested by IDEA
2012-08-23 14:57:21 +03:00
Alex Tkachman
0fad8a66f4
weaken access as suggested by IDEA
2012-08-23 14:57:21 +03:00
Alex Tkachman
80d6de381f
correctly sized arrays
2012-08-23 14:57:21 +03:00
Nikolay Krasko
57d4a28a94
Remove duplicates and speeding-up PluginJetFilesProvider.allInScope
2012-08-23 15:53:41 +04:00
Pavel V. Talanov
3da2cd8f2f
Try to fix build.
...
Expect files to start with lowercase letter in LoadJavaCustomTest#doSimpleTest().
2012-08-23 15:48:50 +04:00
Alex Tkachman
94593fd08f
method extracted to avoid duplicates
2012-08-23 14:30:13 +03:00
Pavel V. Talanov
fbb78e47b0
Rename: *extract* -> *load* in LoadDescriptorUtil.
2012-08-23 15:24:40 +04:00
Pavel V. Talanov
baca087a02
Rename test data folder according to the new test naming convention.
2012-08-23 15:24:39 +04:00
Pavel V. Talanov
4bf2b9054a
Rename tests loading descriptors so that they have consistent naming.
...
Add comments clarifying each test purpose.
2012-08-23 15:24:38 +04:00
Pavel V. Talanov
9dc611c4fe
Get rid of LoadJavaDescriptorsTest.
...
Implement the same test via existing LoadJavaDescriptorsTest.
Move test data.
2012-08-23 15:24:37 +04:00
Pavel V. Talanov
971b27fe61
Refactor CompileJavaAgainstKotlinTest.
...
Avoid duplication.
2012-08-23 15:24:36 +04:00
Pavel V. Talanov
b6c9790b2c
Refactor CompileKotlinAgainstKotlinTest.
...
Avoid duplication.
2012-08-23 15:24:35 +04:00
Pavel V. Talanov
f3dd54e70f
Refactor some of the tests for loading descriptors.
...
Move most of the logic to LoadDescriptorUtil and refactor to avoid duplication.
More descriptive names for LoadDescriptorUtil methods.
Minor code improvements.
2012-08-23 15:24:35 +04:00
Svetlana Isakova
4457c7b6ba
removed 'private' modifier for local function
2012-08-23 14:55:17 +04:00
Svetlana Isakova
ac39daace6
KT-2667 Support multi-declarations in for-loops in control flow analysis
...
#KT-2667 fixed
2012-08-23 14:25:13 +04:00
Alex Tkachman
21774f5288
final modifiers added
2012-08-23 08:33:13 +03:00
Svetlana Isakova
f8edaad420
make modality 'FINAL' for non-class members
...
not depend on actual modifier since it's not legal there
2012-08-22 20:42:35 +04:00
Svetlana Isakova
bac0078646
check modifiers for package declarations
...
removed specific errors for illegal 'abstract' modifier
2012-08-22 20:42:35 +04:00
Svetlana Isakova
4a5269bb2d
set LOCAL visibility for local functions
...
(it can't be INHERIT)
2012-08-22 20:42:35 +04:00
Svetlana Isakova
ea611cb51d
check modifiers for local declarations
2012-08-22 20:42:35 +04:00
Svetlana Isakova
5bac198165
all modifiers checks/resolve moved to ModifiersChecker
2012-08-22 20:42:35 +04:00
Natalia.Ukhorskaya
563d8a9001
Android test: add new special files (temporary commented in tests)
2012-08-22 20:37:11 +04:00
Evgeny Gerashchenko
ba59369f9d
Added another workaround for CME in IDEA code in tests (to be removed after updating to new IDEA).
2012-08-22 20:19:45 +04:00
Alexander Udalov
d41f92370a
comment failing test after 0cc27c0
2012-08-22 20:13:10 +04:00
Alex Tkachman
fb5bf2f8c6
local classes without closures
2012-08-22 18:40:37 +03:00
James Strachan
cbde1e1e46
added a little test case to see if using $ variables works in kotlin for JS generation (e.g. for angularjs support)
2012-08-22 16:17:40 +01:00