Skip to content

Commit 5e69236

Browse files
committed
restore code that should not have been removed
1 parent 248a14c commit 5e69236

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/fsharp/CompileOps.fs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,9 @@ let OutputPhasedErrorR (os:System.Text.StringBuilder) (err:PhasedError) =
722722
os.Append(Duplicate2E().Format k (DecompileOpName s)) |> ignore
723723
| UndefinedName(_,k,id,_) ->
724724
os.Append(k (DecompileOpName id.idText)) |> ignore
725-
725+
| InternalUndefinedItemRef(f,smr,ccuName,s) ->
726+
let _, errs = f(smr, ccuName, s)
727+
os.Append(errs) |> ignore
726728
| FieldNotMutable _ ->
727729
os.Append(FieldNotMutableE().Format) |> ignore
728730
| FieldsFromDifferentTypes (_,fref1,fref2,_) ->

0 commit comments

Comments
 (0)