Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Keep extern declaration access
  • Loading branch information
auduchinok committed Nov 6, 2020
commit 931f67dda19e2c950399ea2f5564d81a03a67a95
2 changes: 1 addition & 1 deletion src/fsharp/pars.fsy
Original file line number Diff line number Diff line change
Expand Up @@ -2643,7 +2643,7 @@ cPrototype:
SynExpr.Ident (ident("failwith", rhs parseState 6)),
SynExpr.Const (SynConst.String("extern was not given a DllImport attribute", rhs parseState 8), rhs parseState 8),
mRhs)
(fun attrs vis ->
(fun attrs _ ->
let bindingId = SynPat.LongIdent (LongIdentWithDots([nm], []), None, Some noInferredTypars, SynArgPats.Pats [SynPat.Tuple(false, args, argsm)], vis, nmm)
let binding = mkSynBinding
(xmlDoc, bindingId)
Expand Down