Skip to content

Commit

Permalink
Merge pull request #2 from forki/tuplealloc
Browse files Browse the repository at this point in the history
Fix bug in error reporting
  • Loading branch information
vasily-kirichenko committed May 21, 2016
2 parents 5757164 + c6be69d commit 2f9a55b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fsharp/MethodOverrides.fs
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@ module DispatchSlotChecking =

| [ overrideBy ] ->
if dispatchSlots |> List.exists (fun (RequiredSlot(dispatchSlot,_)) -> OverrideImplementsDispatchSlot g amap m dispatchSlot overrideBy) then
noimpl()
else
// Error will be reported below in CheckOverridesAreAllUsedOnce
()
else
noimpl()

| _ ->
fail(Error(FSComp.SR.typrelOverrideWasAmbiguous(FormatMethInfoSig g amap m denv dispatchSlot),m))
Expand Down

0 comments on commit 2f9a55b

Please sign in to comment.