Skip to content
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

I just built fsharp.core.dll with warning level 5 and only got these 16 errors #1542

Closed
KevinRansom opened this issue Sep 16, 2016 · 0 comments · Fixed by #1543
Closed

I just built fsharp.core.dll with warning level 5 and only got these 16 errors #1542

KevinRansom opened this issue Sep 16, 2016 · 0 comments · Fixed by #1543

Comments

@KevinRansom
Copy link
Member

Does anyone want to see if we can remove these errors so we can up the warning level for fsharp.core builds?

"C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj" (Rebuild target) (1) ->
(CoreCompile target) ->
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\local.fs(151,45): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from a
member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\local.fs(151,61): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from a
member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\local.fs(154,51): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from a
member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\local.fs(154,67): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from a
member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\map.fs(579,47): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from a m
ember and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\map.fs(579,64): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from a m
ember and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\map.fs(579,101): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from a
member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\map.fs(579,118): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from a
member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\reflect.fs(131,35): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from
a member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\reflect.fs(132,35): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from
a member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\reflect.fs(132,78): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from
a member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\reflect.fs(133,35): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from
a member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\reflect.fs(133,78): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from
a member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\reflect.fs(133,104): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct fro
m a member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\printf.fs(1097,82): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from
a member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\printf.fs(1106,84): error FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from
a member and another member is then accessed [C:\microsoft\visualfsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj]

0 Warning(s)
16 Error(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant