Pluto.jl icon indicating copy to clipboard operation
Pluto.jl copied to clipboard

variable is incorrectly marked as global in generator

Open Pangoraw opened this issue 3 years ago • 2 comments

maybe related: i is incorrectly marked as global here:

triuvec(x) = [x[i,j] for j=1:size(x,2) for i=1:j-1]

image

Originally posted by @yha in https://github.com/fonsp/Pluto.jl/issues/1733#issuecomment-986978987

Pangoraw avatar Dec 15 '21 18:12 Pangoraw

(Since this is a bug in our highlighting extension, not the expression explorer, you need to also define i = 123 in another cell to reproduce.)

fonsp avatar Dec 15 '21 21:12 fonsp

Maybe this is impossible, because it needs to traverse backwards?

fonsp avatar Jun 02 '22 22:06 fonsp

I didn't fix this, but it doesn't happen anymore! Say whaaaaat

dralletje avatar Nov 07 '22 09:11 dralletje