fsharp/FSharp.Compiler.Service — pull request #115 by rojepp (2014-04-07 21:03:43+00:00)
Title: Add a failing test for issue #114

See #114

Running this test in VS yields an assert:

```
Bug in target of HandleAsyncOp: System.Threading.ThreadAbortException: Thread was being aborted.
The most recent error reported to an error scope: " at Microsoft.FSharp.Compiler.ErrorScope.Protect[a](range m, FSharpFunc`2 f, FSharpFunc`2 err) in src\fsharp\vs\IncrementalBuild.fs:line 1076
at Microsoft.FSharp.Compiler.SourceCodeServices.ItemDescriptionsImpl.FormatDescriptionOfItem(Boolean isDecl, InfoReader infoReader, range m, DisplayEnv denv, Item d) in src\fsharp\vs\ServiceDeclarations.fs:line 1132
at .$ServiceDeclarations.description@1260.Invoke(Item arg40@) in src\fsharp\vs\ServiceDeclarations.fs:line 1260
at Microsoft.FSharp.Primitives.Basics.List.map[T,TResult](FSharpFunc`2 mapping, FSharpList`1 x)
at Microsoft.FSharp.Collections.ListModule.Map[T,TResult](FSharpFunc`2 mapping, FSharpList`1 list)
at .$ServiceDeclarations.work@1254-1.Invoke(Unit unitVar0) in src\fsharp\vs\ServiceDeclarations.fs:line 1260
at Microsoft.FSharp.Compiler.SourceCodeServices.Reactor.HandleAsyncOp@89T.Invoke(FSharpFunc`2 op, b state) in src\fsharp\vs\Reactor.fs:line 91"

at Microsoft.FSharp.Compiler.SourceCodeServices.Reactor.HandleAsyncOp@89T.Invoke(FSharpFunc`2 op, b state) in src\fsharp\vs\Reactor.fs:line 96
at Microsoft.FSharp.Compiler.SourceCodeServices.Reactor.loop@156-79.Invoke(ReactorCommands _arg2) in src\fsharp\vs\Reactor.fs:line 162
at Microsoft.FSharp.Control.AsyncBuilderImpl.args@753.Invoke(a a)
at .$Control.loop@419-40(Trampoline this, FSharpFunc`2 action)
at Microsoft.FSharp.Control.Trampoline.ExecuteAction(FSharpFunc`2 firstAction)
at Microsoft.FSharp.Control.TrampolineHolder.Protect(FSharpFunc`2 firstAction)
at .$Control.-ctor@476-1.Invoke(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
```