1 2 3 4 5 6 7 8 9 10
contract Test { uint constant x = 2; function f() public pure { assembly { let y := x.length } } } // ---- // TypeError 3622: (91-99): The suffix ".length" is not supported by this variable or type.