-
Notifications
You must be signed in to change notification settings - Fork 832
Tail recursion warning and attribute, analysis after optimization #15503
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
ee4e19e
3390880
08b3714
c49018a
a9eae39
44d17bf
94ac8da
b95a52b
2abeb9e
e2c1e52
969cd09
f928d1a
05b0e11
1412beb
247e06d
41b1493
faae5c8
9c2af46
35b31e5
193c91f
e42c6e7
f678196
d5c4822
7693a61
ac772f2
81e5b7e
06717ce
6e347c3
08e5e7f
5123533
295e311
cf7f834
f648155
fd5141e
cef7015
fd21b38
a5648cc
be8f6a7
176b8c6
927bcd0
1473c95
5473838
5d22615
98f7195
1bf7c7d
65b7d4e
9614cfb
af2e5be
48e0261
e0e0aca
0071767
5b6ef34
bcf5cb3
2d30a42
85c83cd
e278ed5
d80f74e
bd8a900
4898964
cc93eea
444be5e
63c1ac7
09d5096
c1d8936
ab401a4
0650a8d
5d4cdc2
3eef971
aaec214
d68c8a4
ff6dff3
b696021
28a9b84
da6851a
6d03568
11bef39
baa6ca5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| module internal FSharp.Compiler.TailCallChecks | ||
|
|
||
| open FSharp.Compiler | ||
| open FSharp.Compiler.TcGlobals | ||
| open FSharp.Compiler.TypedTree | ||
|
|
||
| /// Perform the TailCall analysis on the optimized TAST for a file. | ||
| /// The TAST is traversed analogously to the PostInferenceChecks phase. | ||
| /// For functions that are annotated with the [<TailCall>] attribute, a warning is emmitted if they are called in a | ||
| /// non-tailrecursive manner in the recursive scope of the function. | ||
| /// The ModuleOrNamespaceContents aren't mutated in any way by performing this check. | ||
| val CheckImplFile: | ||
| g: TcGlobals * amap: Import.ImportMap * reportErrors: bool * implFileContents: ModuleOrNamespaceContents -> unit | ||
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.
Uh oh!
There was an error while loading. Please reload this page.