1 2 3 4 5 6 7 8 9
contract test { function f() public { fixed a = 4.5; ufixed d = 2.5; a; d; } } // ---- // Warning: (20-108): Function state mutability can be restricted to pure