We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
init
this
The following program:
record R { var x: int; proc init(x: int) { } proc init(x: int, y: int) { init(__primitive("+", x, y)); } }
Emits an error about being unable to pass a const int to a value of type ref R. This makes little sense to me.
const int
ref R
Activity