Skip to content

Commit 5c8fef9

Browse files
authored
Update BasicProvider.Provider.fs
1 parent e9e7b1d commit 5c8fef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/BasicProvider.DesignTime/BasicProvider.Provider.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type BasicErasingProvider (config : TypeProviderConfig) as this =
4141
}
4242
ProvidedMethod("NameOf", [ param ], typeof<string>, isStatic = true, invokeCode = fun args ->
4343
<@@
44-
match (%%args.[0]) : Microsoft.FSharp.Quotations.Expr<int> with
44+
match (%%args.[0]) : Expr<int> with
4545
| Microsoft.FSharp.Quotations.Patterns.ValueWithName (_, _, n) -> n
4646
| e -> failwithf "Invalid quotation argument (expected ValueWithName): %A" e
4747
@@>)

0 commit comments

Comments
 (0)