Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +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
Mikhail Glukhikh
022e7d1169
Deprecated enum syntax removed: most idea tests
2015-08-10 16:24:16 +03:00
Mikhail Glukhikh
1a312140e9
New enum syntax: Short constructor syntax introduced for entries, optional commas between entries, semicolon after entries. #KT-7605 Fixed.
...
Grammar changed accordingly.
Semicolons prohibited after an entry except the last one.
Only one initializer is allowed per entry.
EnumReferenceExpression AST node introduced.
Some tests fixed, a pair of new tests written. Kotlin code inside project fixed.
Formatter and intendation tests fixed accordingly.
Stub version is incremented.
2015-05-15 16:13:32 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Nikolay Krasko
d4ddf06ebd
Fix problem with alignment in assignments and other binary expressions
2014-05-16 17:10:04 +04:00
Nikolay Krasko
356cb80e7f
Indent for multideclarations
2014-05-16 17:10:03 +04:00
Nikolay Krasko
8eb8e5a928
Fix spacing after return (KT-4947)
...
#KT-4947 Fixed
2014-05-16 17:10:00 +04:00
Nikolay Krasko
3f96b4775f
Better indententation on enter in lambdas
2014-05-16 17:09:59 +04:00
Nikolay Krasko
2b847cd885
Formatting enum delegations lists
2014-05-16 17:09:57 +04:00
Nikolay Krasko
cd3aa06a83
Fix 'In multiline class declaration the indent before parent's name is destroyed' (KT-3848)
...
#KT-3848 Fixed
2014-05-16 17:09:53 +04:00
Nikolay Krasko
850987748e
Fix 'Formatting after braceless class declaration' (KT-3858)
...
It's irrelevant that element is incompleted when new node is being add to the middle
#KT-3858
2014-05-16 17:09:53 +04:00
Nikolay Krasko
45013ce8af
Fix formatting for multiline binary expressions
...
#KT-4797 Fixed
2014-05-16 17:09:50 +04:00
Nikolay Krasko
195d4c54bf
Indent for ?. calls (KT-3913)
...
#KT-3913 Fixed
2014-05-16 17:09:49 +04:00
Nikolay Krasko
c42908eff7
Rewrite tests for formatting during typing with auto generator
2014-05-16 17:09:48 +04:00
Ilya Ryzhenkov
796611702c
Test indentation on new line in scripts.
2014-03-24 18:17:51 +04:00
Andrey Breslav
8952365ae3
Formatter test is generated now
2013-09-24 06:58:40 -07:00