Closed KevinRansom closed 8 years ago
how can I print the type name of a TyconRepresentation?
@forki Presumably in the context of
and checkTypeDef (aenv: TypeEquivEnv) (implTycon:Tycon) (sigTycon:Tycon) =
let m = implTycon.Range
you just use implTycon.DisplayName
or something like that
Added PR which adds type info to all of these error messages in #1834
Fixed by @forki https://github.com/Microsoft/visualfsharp/pull/1834
It helpfully tells me the name of the missing field, but I need to edit the fsi to add the missing field. But this error expects me to load up the .fs goto the error line # to get the type then open up the fsi and goto the type.
If I simply had the type name I could go straight to the fsi and make the fix.