Nikolay Krasko
87b628a3f7
Generate 'nop' instruction on lambda call when everything on line is going to be eliminated by inliner (KT-6477)
...
(cherry picked from commit 462bdb2)
#KT-6477 Fixed
2016-10-14 14:52:06 +03:00
Nikolay Krasko
3d9d6e666d
Test several line numbers are generated for one instruction
...
(cherry picked from commit 1ea9280)
2016-10-05 18:49:38 +03:00
Nikolay Krasko
57ef3f5656
Generate linenumber for goto instruction in while (KT-13059)
...
Otherwise linenumber for previous instruction will be used in debugger. That can lead to error stepping
because it might be line that isn't reachable on current iteration.
#KT-13059 Fixed
2016-07-12 15:19:02 +03:00
Michael Bogdanov
faca68297c
Updated line numbers tests
2016-04-20 17:07:09 +03:00
Natalia Ukhorskaya
7a5ab93f9e
Debugger: write line number for catch clause declaration
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
d0355a793b
Write lineNumbers for constructors
2015-11-30 12:25:51 +03:00
Natalia Ukhorskaya
0d984ce8e2
Refactor AbstractLineNumberTest using assertEqualsToFile
2015-11-30 12:25:50 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Natalia Ukhorskaya
cb80a3e83a
Write lineNumber for function literal with void return value
...
#KT-9865 Fixed
2015-11-26 11:39:18 +03:00
Natalia Ukhorskaya
4a2e4312ea
Write lineNumber when inline function result is written to property
2015-11-26 11:39:17 +03:00
Dmitry Petrov
3502c393fc
Drop package facades: JVM BE tests passed.
2015-10-19 16:03:16 +03:00
Yan Zhulanow
e14c9645dc
Error on 'if' without an 'else' branch when used as an expression
2015-10-19 03:56:15 +03:00
Alexey Sedunov
b4efe33efa
IDEA 142.4859.6: Update LineNumberTestGenerated test data (due to IDEA's ASM upgrade to 5.0.4 which supports multiline labels)
2015-09-21 18:07:46 +03:00
Mikhail Glukhikh
3f14e74b08
Drop old enum syntax. Comma / semicolon are now a syntactic part of enum entry.
...
Comma must present now between enum entries, semicolon between last entry & first member, constructor calls must be without colons / specifiers.
A swarm of tests fixed accordingly.
2015-08-11 10:38:10 +03:00
Dmitry Jemerov
4bdf598bfe
compiler testdata: s/trait/interface
2015-05-12 19:43:17 +02:00
Michael Bogdanov
99496f8f52
Update some test due smap generation
2015-04-09 09:25:26 +03:00
Michael Bogdanov
c582b1d9ce
Generate linenumber if needed after inlining
2015-04-09 09:25:26 +03:00
Michael Bogdanov
ed62e4972f
Temporary disable smap generation
2015-03-18 19:00:24 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Michael Bogdanov
ea2f9e91e9
Test fix - update and review required
2015-03-16 18:52:01 +03:00
Michael Bogdanov
a4117360a2
Smap refactorings
2015-03-16 18:52:01 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Natalia Ukhorskaya
e35b960eb5
Stepping: do not write line numbers for call arguments
...
#KT-3080 Fixed
2014-12-23 14:40:26 +03:00
Natalia Ukhorskaya
42257218b6
Fix tests after adding lineNumber for functions without return expression
2014-11-07 17:18:02 +03:00
Mikhael Bogdanov
d059467727
Write line numbers for inlined lambdas
2014-03-19 19:20:35 +04:00
Alexander Udalov
9cb19d17b0
Don't test line numbers on *Package classes
...
Package classes in line number tests only contain "1" as the first line number
of a single function, so there's no point in testing it. The test was failing
due to the latest changes in the order of generation of classfiles (first $src,
then facade)
2013-08-26 15:59:38 +04:00
Natalia.Ukhorskaya
faf994d872
Generate package$src files for each package
2013-03-06 16:22:33 +04:00
Alexander Udalov
9d3907ff98
When-statements & correct line numbers
2012-11-22 22:32:21 +04:00
Alexander Udalov
aa898725fc
Mark line numbers on compile-time constants
2012-11-22 22:32:17 +04:00
Alexander Udalov
0f496eac21
Try-catch-finally statements & correct line numbers
2012-11-22 22:32:14 +04:00
Alexander Udalov
99a908e8fe
If-then-else statements & correct line numbers
...
#KT-3036 Fixed
2012-11-22 22:31:58 +04:00
Alexander Udalov
af601b5a90
Single-branch if-statements
...
Single-branch if-expressions are now compiled to statements if the result is
not used
#KT-3036 In Progress
2012-11-22 22:31:40 +04:00
Alexander Udalov
ce2b915645
Generate line numbers for static delegates
...
Fixes debugger's "step into" for multi-file package
2012-10-17 17:57:54 +04:00
Alexander Udalov
4c710346af
Refactor LineNumberTest
...
Extract methods, annotate with NotNull, inline base code into test class,
other minor stuff
2012-10-17 17:57:53 +04:00
Alexander Udalov
ed1f22111b
line number codegen tests
2012-08-21 16:31:29 +04:00