-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Description
begin
was introduced in #33946, but it would be nice if @view
had a rewriting like replace_ref_end!
for begin
, too.
Currently
julia> VERSION
v"1.5.0-DEV.461"
julia> v = 1:4
1:4
julia> v[(begin + 1):(end - 1)]
2:3
julia> @view v[(begin + 1):(end - 1)]
ERROR: UndefVarError: begin not defined
Stacktrace:
[1] top-level scope at REPL[4]:1
simeonschaub, StefanKarpinski, tkf and AzamatB
Metadata
Metadata
Assignees
Labels
No labels