diff --git a/src/Leanc.lean b/src/Leanc.lean index 365a933e19..5f521127e8 100644 --- a/src/Leanc.lean +++ b/src/Leanc.lean @@ -33,7 +33,7 @@ Interesting options: match arg with | "--print-cflags" => IO.println <| " ".intercalate (cflags.map rootify |>.toList) - return 0 + return (0 : UInt32) -- TODO: remove type annotation after we make sure `for in` propagate `do`-block result type | "--print-ldflags" => IO.println <| " ".intercalate ((cflags ++ ldflags).map rootify |>.toList) return 0