From dd8252eb8d20aaedf7b1c7576cd2a8a82d24f587 Mon Sep 17 00:00:00 2001 From: latkin Date: Fri, 19 Jun 2015 10:25:06 -0700 Subject: [PATCH] Fix #492 - use ConvILTypeRefUnadjusted to properly route local assembly refs ConvILTypeRefUnadjusted properly handles the case where the reference is statically linked. ConvILTypeRef does not. These two used to be a single API. They were split in 640db00 and it was a simple oversight that the wrong one was wired up here. fixes #492 closes #510 --- src/fsharp/creflect.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fsharp/creflect.fs b/src/fsharp/creflect.fs index b1f9e39fb01..1785af219ed 100644 --- a/src/fsharp/creflect.fs +++ b/src/fsharp/creflect.fs @@ -967,7 +967,7 @@ and ConvTyconRef cenv (tcref:TyconRef) m = | TProvidedTypeExtensionPoint info when not cenv.g.isInteractive && not info.IsErased -> // Note, generated types are (currently) non-generic let tref = ExtensionTyping.GetILTypeRefOfProvidedType (info.ProvidedType, m) - ConvILTypeRef cenv tref + ConvILTypeRefUnadjusted cenv m tref | _ -> #endif let repr = tcref.CompiledRepresentation