Skip to content

Conversation

@KevinRansom
Copy link
Contributor

@KevinRansom KevinRansom commented Sep 13, 2020

This is a bug caused by mutable state.

loader reqd.AssemblyName may cause the entry for reqd.AssemblyName to be fixed up, if the reference was provided using --reference.

So before we try to fix up the entry we re-check to see if the ccuthunk has already been fixed up.

Kevin

@dsyme dsyme changed the title Bloody mutable fields --- Fixes #10021 --- fsi 10.9.1.0 for F# 4.7 reference dll ok but 10.10.0.0 for F# 4.7 not ok Mutable fields --- Fixes #10021 --- fsi 10.9.1.0 for F# 4.7 reference dll ok but 10.10.0.0 for F# 4.7 not ok Sep 14, 2020
@cartermp cartermp merged commit c1b7e6a into dotnet:main Sep 14, 2020
KevinRansom added a commit that referenced this pull request Sep 14, 2020
* Bloody mutable fields (#10116)

* Fix 9150 --- #i nuget on desktop witout net48 ref assemblies fails. (#10114)

* signing (#10108)

Co-authored-by: Kevin Ransom (msft) <[email protected]>
@KevinRansom KevinRansom deleted the fix10021 branch October 29, 2020 18:57
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
* Bloody mutable fields (dotnet#10116)

* Fix 9150 --- #i nuget on desktop witout net48 ref assemblies fails. (dotnet#10114)

* signing (dotnet#10108)

Co-authored-by: Kevin Ransom (msft) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fsi 10.9.1.0 for F# 4.7 reference dll ok but 10.10.0.0 for F# 4.7 not ok

3 participants