Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression from 0.0.62 to 0.0.67 #249

Closed
ovatsus opened this issue Nov 1, 2014 · 2 comments
Closed

Regression from 0.0.62 to 0.0.67 #249

ovatsus opened this issue Nov 1, 2014 · 2 comments

Comments

@ovatsus
Copy link
Member

ovatsus commented Nov 1, 2014

When generating the reference docs for FSharp.Data, I get this error:

System.Exception: No compiled representation for provided erased type
   at Microsoft.FSharp.Compiler.Tast.Entity.get_CompiledRepresentation() in C:\GitHub\fsharp\FSharp.Compiler.Service\src\fsharp\tast.fs:line 889
   at Microsoft.FSharp.Compiler.SourceCodeServices.FSharpEntity.get_TryFullName() in C:\GitHub\fsharp\FSharp.Compiler.Service\src\fsharp\vs\Symbols.fs:line 197
   at FSharp.MetadataFormat.Reader.getXmlDocSigForType(FSharpEntity typ) in D:\code\FSharp.Formatting\src\FSharp.MetadataFormat\Main.fs:line 556
   at FSharp.MetadataFormat.Reader.readType(ReadingContext ctx, FSharpEntity typ) in D:\code\FSharp.Formatting\src\FSharp.MetadataFormat\Main.fs:line 673
   at Microsoft.FSharp.Collections.IEnumerator.choose@154.System-Collections-IEnumerator-MoveNext()
   at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source)
   at FSharp.MetadataFormat.Reader.readModulesAndTypes(ReadingContext ctx, IEnumerable`1 entities) in D:\code\FSharp.Formatting\src\FSharp.MetadataFormat\Main.fs:line 669
   at FSharp.MetadataFormat.Reader.readNamespace(ReadingContext ctx, String ns, IEnumerable`1 entities) in D:\code\FSharp.Formatting\src\FSharp.MetadataFormat\Main.fs:line 744
   at [email protected](b& )
>    at Microsoft.FSharp.Collections.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext()
   at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source)
   at FSharp.MetadataFormat.Reader.readAssembly(FSharpAssembly assembly, Boolean publicOnly, String xmlFile, FSharpOption`1 sourceFolderRepo, FSharpFunc`2 urlRangeHighlight, Boolean markDownComments) in D:\code\FSharp.Formatting\src\FSharp.MetadataFormat\Main.fs:line 763
   at <StartupCode$FSharp-MetadataFormat>[email protected](IEnumerable`1& next) in D:\code\FSharp.Formatting\src\FSharp.MetadataFormat\Main.fs:line 0
   at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl()
   at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source)
   at FSharp.MetadataFormat.MetadataFormat.Generate(FSharpList`1 dllFiles, String outDir, IEnumerable`1 layoutRoots, FSharpOption`1 parameters, FSharpOption`1 namespaceTemplate, FSharpOption`1 moduleTemplate, FSharpOption`1 typeTemplate, FSharpOption`1 xmlFile, FSharpOption`1 sourceRepo, FSharpOption`1 sourceFolder, FSharpOption`1 publicOnly, FSharpOption`1 libDirs, FSharpOption`1 otherFlags, FSharpOption`1 markDownComments, FSharpOption`1 urlRangeHighlight) in D:\code\FSharp.Formatting\src\FSharp.MetadataFormat\Main.fs:line 875
   at <StartupCode$FSI_0004>.$FSI_0004.main@()
@dungpa
Copy link
Contributor

dungpa commented Nov 1, 2014

The regression starts showing in this commit fsprojects/FSharp.Formatting@b8d3bde.

A quick fix is to put try/with around TryFullName until it is fixed here and FSharp.Formatting moves to FCS 0.0.7x (including API changes).

ovatsus pushed a commit to ovatsus/FSharp.Formatting that referenced this issue Nov 1, 2014
@ovatsus
Copy link
Member Author

ovatsus commented Nov 2, 2014

Applied the workaround to Fsharp.Formatting

OkayX6 pushed a commit to OkayX6/FSharp.Compiler.Service that referenced this issue Nov 4, 2014
@fsgit fsgit closed this as completed in 445e92c Nov 5, 2014
fsgit added a commit that referenced this issue Nov 5, 2014
fsgit added a commit that referenced this issue Nov 5, 2014
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

No branches or pull requests

2 participants