-
Notifications
You must be signed in to change notification settings - Fork 870
Ignore lines starting with #: (RFC-1337)
#20212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
79b1080
fd5cce0
9bf4574
4176053
bbc84ff
7ff351a
875600c
cd37ada
827df9f
14f90a7
29621c9
4a9cc4d
0aad853
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| namespace CompilerDirectives | ||
|
|
||
| open Xunit | ||
| open FSharp.Test.Compiler | ||
|
|
||
| module IgnoreColon = | ||
|
|
||
| let source = """ | ||
| module test | ||
| #:r test.dll | ||
| [<EntryPoint>] | ||
| let main _ = | ||
| #:source test.fs | ||
| 0 | ||
| #:ignore also at eof""" | ||
|
|
||
| [<Fact>] | ||
| let ignoreColonDirective () = | ||
|
|
||
| FSharp source | ||
| |> compile | ||
| |> withDiagnostics [ | ||
| Error 3909, Line 6, Col 5, Line 6, Col 21, "#: directives must start at the beginning of a line" | ||
| ] |
Uh oh!
There was an error while loading. Please reload this page.