@@ -1604,12 +1604,16 @@ We really need to rewrite some code paths here to use the real parse tree rather
16041604| :? NoParamInfo-> ()
16051605
16061606[<Test>]
1607- member public this. ``LocationOfParams.TypeProviders.BasicWithinExpr`` () =
1608- this.TestParameterInfoLocationOfParams( """
1609- let f() =
1610- let r = id( ^N1.T^^< "fo$o"^, ParamIgnored=42 ^> )
1611- r""" ,
1612- additionalReferenceAssemblies= [ System.IO.Path.Combine( System.Environment.CurrentDirectory, @" UnitTestsResources\MockTypeProviders\DummyProviderForLanguageServiceTesting.dll" )])
1607+ member public this. ``LocationOfParams.TypeProviders.BasicWithinExpr`` () =
1608+ try
1609+ this.TestParameterInfoLocationOfParams( """
1610+ let f() =
1611+ let r = id( ^N1.T^^< "fo$o"^, ParamIgnored=42 ^> )
1612+ r""" ,
1613+ additionalReferenceAssemblies= [ System.IO.Path.Combine( System.Environment.CurrentDirectory, @" UnitTestsResources\MockTypeProviders\DummyProviderForLanguageServiceTesting.dll" )])
1614+ failwith" unexpected param info for invalid use of constructorless type"
1615+ with
1616+ | :? NoParamInfo-> ()
16131617
16141618[<Test>]
16151619member public this. ``LocationOfParams.TypeProviders.BasicWithinExpr.DoesNotInterfereWithOuterFunction`` () =