Skip to content

Commit

Permalink
fix mosml
Browse files Browse the repository at this point in the history
  • Loading branch information
digama0 authored and mn200 committed Nov 15, 2024
1 parent 9d5ab3c commit 833b239
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/prekernel/Feedback.sml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ fun mk_HOL_ERRloc s1 s2 locn s3 =
source_location = locn,
message = s3}

fun set_origin_function fnm {origin_structure, source_location, message, ...} =
fun set_origin_function fnm
({origin_structure, source_location, message, ...}:error_record) =
{origin_structure = origin_structure,
source_location = source_location,
origin_function = fnm,
message = message}

fun set_message msg {origin_structure, source_location, origin_function, ...} =
fun set_message msg
({origin_structure, source_location, origin_function, ...}:error_record) =
{origin_structure = origin_structure,
source_location = source_location,
origin_function = origin_function,
Expand Down

0 comments on commit 833b239

Please sign in to comment.