-
Notifications
You must be signed in to change notification settings - Fork 803
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca5f380
commit 36a1ad4
Showing
29 changed files
with
11,813 additions
and
0 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
30 changes: 30 additions & 0 deletions
30
tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForLoopByte.fs
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,30 @@ | ||
let mutable c = 0uy | ||
|
||
module Up = | ||
let constEmpty () = | ||
for n = 10uy to 1uy do | ||
c <- n | ||
|
||
let constNonEmpty () = | ||
for n = 1uy to 10uy do | ||
c <- n | ||
|
||
let constFinish start = | ||
for n = start to 10uy do | ||
c <- n | ||
|
||
let constStart finish = | ||
for n = 1uy to finish do | ||
c <- n | ||
|
||
let annotatedStart (start: byte) finish = | ||
for n = start to finish do | ||
c <- n | ||
|
||
let annotatedFinish start (finish: byte) = | ||
for n = start to finish do | ||
c <- n | ||
|
||
let inferredStartAndFinish start finish = | ||
for n = start to finish do | ||
c <- n |
Oops, something went wrong.