Skip to content

Commit

Permalink
Fix #492 - use ConvILTypeRefUnadjusted to properly route local assemb…
Browse files Browse the repository at this point in the history
…ly 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
  • Loading branch information
latkin committed Jun 19, 2015
1 parent 2f5d047 commit dd8252e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fsharp/creflect.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd8252e

Please sign in to comment.