1 2 3 4 5 6 7 8 9 10
-module(fix). -export([m/0]). -spec m() -> integer(). -ifdef(error). m() -> 3.14. -else. m() -> 3. -endif.