-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #905 from dart-lang/blank-line-after-script
Blank line after script
- Loading branch information
Showing
6 changed files
with
97 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,13 @@ | |
library x; | ||
<<< | ||
#!script | ||
|
||
library x; | ||
>>> | ||
#!script | ||
|
||
library x; | ||
<<< | ||
#!script | ||
|
||
library x; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
>>> | ||
#!/usr/bin/env dart | ||
|
||
import 'dart:io'; | ||
// More code... | ||
<<< | ||
#!/usr/bin/env dart | ||
|
||
import 'dart:io'; | ||
// More code... | ||
>>> | ||
#!/usr/bin/env dart | ||
|
||
void main() {} | ||
<<< | ||
#!/usr/bin/env dart | ||
|
||
void main() {} | ||
>>> | ||
#!/usr/bin/env dart | ||
|
||
/// dartdoc comment. | ||
<<< | ||
#!/usr/bin/env dart | ||
|
||
/// dartdoc comment. | ||
>>> | ||
#!/usr/bin/env dart | ||
|
||
var someGlobal = 0; | ||
<<< | ||
#!/usr/bin/env dart | ||
|
||
var someGlobal = 0; | ||
>>> | ||
#!/usr/bin/env dart | ||
import 'dart:io'; | ||
<<< | ||
#!/usr/bin/env dart | ||
|
||
import 'dart:io'; | ||
>>> | ||
#!/usr/bin/env dart | ||
// Normal comment. | ||
<<< | ||
#!/usr/bin/env dart | ||
|
||
// Normal comment. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters