提交 dd8252eb 编写于 作者: L latkin

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 640db001 and it was
a simple oversight that the wrong one was wired up here.

fixes #492
closes #510
上级 2f5d047d
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册