Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

fsautocomplete caused FCS to throw an exception #764

Closed
rneatherway opened this issue Oct 15, 2014 · 1 comment
Closed

fsautocomplete caused FCS to throw an exception #764

rneatherway opened this issue Oct 15, 2014 · 1 comment

Comments

@rneatherway
Copy link
Contributor

At the time I was in Emacs. I had just entered [<Test>] and was at the end of the line. I may or may not have pressed enter yet, ready to type let``test name``= ...

The text [<Test>] was highlighted as an error at that time.

*fsharp-debug* contents:

1413378161.9040136: Parsing "/auto/users/robnea/dev/rneatherway-fsharpbinding/FSharp.AutoComplete/test/unit/ProjectLoading/ProjectReferenceTests.fs"
1413378161.9046407: tooltip "/auto/users/robnea/dev/rneatherway-fsharpbinding/FSharp.AutoComplete/test/unit/ProjectLoading/ProjectReferenceTests.fs" 29 7 400
1413378161.9917514: Received 'INFO' message of length 65
1413378162.0245857: Received 'errors' message of length 65
Unhandled Exception:
Microsoft.FSharp.Compiler.ErrorLogger+UnresolvedPathReferenceNoRange: Exception of type 'Microsoft.FSharp.Compiler.ErrorLogger+UnresolvedPathReferenceNoRange' was thrown.
  at Microsoft.FSharp.Compiler.Tast+CcuThunk.EnsureDerefable (System.String[] requiringPath) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tast+NonLocalEntityRef.TryDeref (Boolean canError) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tast+EntityRef.Resolve (Boolean canError) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tast+EntityRef.get_Deref () [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tastops.stripTyEqnsA (Microsoft.FSharp.Compiler.TcGlobals g, Boolean canShortcut, Microsoft.FSharp.Compiler.TType ty) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tastops.stripTyEqnsAndErase (Boolean eraseFuncAndTuple, Microsoft.FSharp.Compiler.TcGlobals g, Microsoft.FSharp.Compiler.TType ty) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tastops.stripTyEqnsWrtErasure (Microsoft.FSharp.Compiler.Erasure erasureFlag, Microsoft.FSharp.Compiler.TcGlobals g, Microsoft.FSharp.Compiler.TType ty) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tastops.typeAEquivAux (Microsoft.FSharp.Compiler.Erasure erasureFlag, Microsoft.FSharp.Compiler.TcGlobals g, Microsoft.FSharp.Compiler.TypeEquivEnv aenv, Microsoft.FSharp.Compiler.TType ty1, Microsoft.FSharp.Compiler.TType ty2) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Collections.ListModule.forall2aux[TType,TType] (Microsoft.FSharp.Core.FSharpFunc`3 f, Microsoft.FSharp.Collections.FSharpList`1 list1, Microsoft.FSharp.Collections.FSharpList`1 list2) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Collections.ListModule.ForAll2[TType,TType] (Microsoft.FSharp.Core.FSharpFunc`2 predicate, Microsoft.FSharp.Collections.FSharpList`1 list1, Microsoft.FSharp.Collections.FSharpList`1 list2) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+List.lengthsEqAndForall2[TType,TType] (Microsoft.FSharp.Core.FSharpFunc`2 p, Microsoft.FSharp.Collections.FSharpList`1 l1, Microsoft.FSharp.Collections.FSharpList`1 l2) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tastops.typesAEquivAux (Microsoft.FSharp.Compiler.Erasure erasureFlag, Microsoft.FSharp.Compiler.TcGlobals g, Microsoft.FSharp.Compiler.TypeEquivEnv aenv, Microsoft.FSharp.Collections.FSharpList`1 l1, Microsoft.FSharp.Collections.FSharpList`1 l2) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tastops.typeAEquivAux (Microsoft.FSharp.Compiler.Erasure erasureFlag, Microsoft.FSharp.Compiler.TcGlobals g, Microsoft.FSharp.Compiler.TypeEquivEnv aenv, Microsoft.FSharp.Compiler.TType ty1, Microsoft.FSharp.Compiler.TType ty2) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Compiler.Tast+TType,Microsoft.FSharp.Compiler.Tast+TType].InvokeFast[Boolean] (Microsoft.FSharp.Core.FSharpFunc`2 func, Microsoft.FSharp.Compiler.TType arg1, Microsoft.FSharp.Compiler.TType arg2) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tast+TryLinkVal@1488.Invoke (Microsoft.FSharp.Compiler.Val v) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Collections.ListModule.TryFind[Val] (Microsoft.FSharp.Core.FSharpFunc`2 predicate, Microsoft.FSharp.Collections.FSharpList`1 list) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceType.TryLinkVal (Microsoft.FSharp.Compiler.CcuThunk ccu, Microsoft.FSharp.Compiler.ValLinkageFullKey key) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Tast+ValRef.get_Deref () [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Compiler.Infos+GetIntrinsicConstructorInfosOfType@3333-5.Invoke (Microsoft.FSharp.Compiler.ValRef vref) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Collections.ListModule.chooseAllAcc[ValRef,ValRef] (Microsoft.FSharp.Core.FSharpFunc`2 f, Microsoft.FSharp.Collections.FSharpList`1 x
@rneatherway
Copy link
Contributor Author

This issue was moved to ionide/FsAutoComplete#16

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant