Merge branch '33-duplicated-variant-case-gives-missing-case-error' into 'dev'
Resolve "Duplicated variant case gives "missing case" error" Closes #33 See merge request ligolang/ligo!275
This commit is contained in:
commit
de56e170ee
@ -54,7 +54,7 @@ module Errors = struct
|
||||
|
||||
let match_redundant_case : type a . (a, unit) I.matching -> Location.t -> unit -> _ =
|
||||
fun matching loc () ->
|
||||
let title = (thunk "missing case in match") in
|
||||
let title = (thunk "redundant case in match") in
|
||||
let message () = "" in
|
||||
let data = [
|
||||
("variant" , fun () -> Format.asprintf "%a" I.PP.matching_type matching) ;
|
||||
|
@ -61,7 +61,7 @@ module Errors = struct
|
||||
|
||||
let match_redundant_case : type a . (a, unit) I.matching -> Location.t -> unit -> _ =
|
||||
fun matching loc () ->
|
||||
let title = (thunk "missing case in match") in
|
||||
let title = (thunk "redundant case in match") in
|
||||
let message () = "" in
|
||||
let data = [
|
||||
("variant" , fun () -> Format.asprintf "%a" I.PP.matching_type matching) ;
|
||||
|
Loading…
Reference in New Issue
Block a user