Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Side by Side Diff: pkg/analyzer/test/services/data/stmt_tests.data

Issue 151243003: Fixes for empty class and method bodies. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 >>> 1 >>>
2 if (x && 2 if (x &&
3 y) { 3 y) {
4 print('!'); 4 print('!');
5 } 5 }
6 <<< 6 <<<
7 if (x && y) { 7 if (x && y) {
8 print('!'); 8 print('!');
9 } 9 }
10 >>> 10 >>>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 new XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX(); 114 new XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX();
115 >>> 115 >>>
116 main() { 116 main() {
117 throw new FormatException("This is a long exception message that puts this ove r 80 columns."); 117 throw new FormatException("This is a long exception message that puts this ove r 80 columns.");
118 } 118 }
119 <<< 119 <<<
120 main() { 120 main() {
121 throw new FormatException( 121 throw new FormatException(
122 "This is a long exception message that puts this over 80 columns."); 122 "This is a long exception message that puts this over 80 columns.");
123 } 123 }
124 >>> Empty method bodies may be on a single line (or more)
125 void main() { }
126 <<<
127 void main() {}
128 >>>
129 void main() {
130
131 }
132 <<<
133 void main() {
134
135 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/services/data/cu_tests.data ('k') | pkg/analyzer/test/services/data/style_guide_tests.data » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698