Documentation for method
line assembled from the following types:
method line(Code: --> Int)
Returns the line number in which the code object was declared.
This is a shortcut for looking up the
line annotation. For example, the following two calls are identical.
say callframe(1).line;say callframe(1).annotations<line>;
method line(Backtrace::Frame --> Int)
Returns the line number (line numbers start counting from 1).
my = Backtrace.new;my = ;say .line;
The line number in which the compilation error occurred.