Commit Graph

12 Commits

Author SHA1 Message Date
Yan Zhulanow
a3ff3ffc45 Fix tests: "Placing function type parameters after the function name" error 2015-11-27 15:51:11 +03:00
Valentin Kipyatkov
98dc8f234e Drop suppport for annotation syntax without '@' from parser 2015-10-15 19:20:07 +03:00
Denis Zharkov
02aafe4262 Report syntax error on unescaped annotation
Also adjust parser testData
2015-09-18 09:34:26 +03:00
Denis Zharkov
cf4b1ab7cd Drop obsolete annotations syntax 2015-06-12 09:55:00 +03:00
Pavel V. Talanov
07d35d305e Create import list psi element even if no directives are present
Fix a problem where deleting last import directive via "optimize imports" could lead to incorrect psi structure resulting in CCE, see EA-64291
New imports are inserted at the head (after package directive if present) of the file (before any comments) if no imports were present
Add test for inserting import to file where a first statement is a comment
Drop code dealing with non-existing import list in ImportInsertHelperImpl
AbstractQuickFixTest: check for unexpected actions before changes to the file are made as it relies on the first line having specific format
2015-06-08 20:51:04 +03:00
Stanislav Erokhin
a235110d44 Fixed function expression recovery 2015-03-12 17:11:45 +03:00
Valentin Kipyatkov
9dd4b5598e Comments binding (not complete yet) 2014-10-31 21:07:44 +03:00
Pavel V. Talanov
951ce827a6 Parser: allow function types as receiver type for function 2014-10-30 16:47:03 +03:00
Andrey Breslav
2bf6db003a Error message corrected: packages can't be nested any more 2014-10-15 12:22:35 +04:00
Evgeny Gerashchenko
791b5bb84c JetNamespaceHeader → JetPackageDirective. 2014-01-14 18:06:48 +04:00
Evgeny Gerashchenko
e338cda06d Changed extension in parsing test data (jet -> kt) 2013-09-17 18:10:00 +04:00
Evgeny Gerashchenko
2ee3d22ab9 Generated missing test data. 2013-09-17 18:10:00 +04:00