-
Notifications
You must be signed in to change notification settings - Fork 795
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
F# RFC FS-1015 - Support for "fixed" #1270
Conversation
if /i '%ARG%' == 'ci_part3' ( | ||
set BUILD_PROTO=1 | ||
set SKIP_EXPENSIVE_TESTS=1 | ||
set BUILD_CORECLR=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we building CORECLR without testing it? shouldn't it be already covered in ci_part2?
This is now ready for review and commit |
@@ -284,7 +285,7 @@ module Keywords = | |||
[ "atomic"; "break"; | |||
"checked"; "component"; "constraint"; "constructor"; "continue"; | |||
"eager"; | |||
"fixed"; "fori"; "functor"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yay! :)
OK, this is now green - please review! |
It looks like, for
compile to the Not being an expert in how the CLR works, is this a cause for concern? |
locals |> ILList.iter (fun l -> | ||
if l.IsPinned then | ||
bb.EmitByte et_PINNED | ||
EmitType cenv env bb l.Type) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please remove the duplication for this logic?
How about a new function EmitTypeOfLocal
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, will do
@codymack As far as I understand things that's not a cause for concern. F# has always used |
@dotnet-bot test this please |
@dsyme can you fix the merge issues |
This is the PR for RFC FS-1015 - Support for 'fixed'
Some tests are present but more are needed.