We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
convert
type Foo; x::Float64; end foo = Foo(0) foo.x = 3 foo.(:x) = 4 setfield!(foo, :x, 5)
The last line throws TypeError: setfield!: expected Float64, got Int64.
TypeError: setfield!: expected Float64, got Int64