Skip to content

Commit

Permalink
apparent typo in ml_translatorLib.sml
Browse files Browse the repository at this point in the history
  • Loading branch information
xrchz committed Apr 28, 2015
1 parent ac4bd1a commit 8eb69c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translator/ml_translatorLib.sml
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ in
(type_mappings := (ty,target_ty) :: (!type_mappings))
fun string_tl s = s |> explode |> tl |> implode
fun type2t ty =
if ty = ``:bool`` then ``TC_name (Short "bool")`` else
if ty = ``:bool`` then ``Tapp [] (TC_name (Short "bool"))`` else
if ty = ``:word8`` then ``Tapp [] TC_word8`` else
if ty = ``:int`` then ``Tapp [] TC_int`` else
if ty = ``:num`` then ``Tapp [] TC_int`` else
Expand Down

0 comments on commit 8eb69c3

Please sign in to comment.