1 2 3 4 5 6 7 8
contract C { function f() public view { address a = this; a; } } // ---- // TypeError: (46-62): Type contract C is not implicitly convertible to expected type address.