Debug console not printing error on screen in some cases (at least for me on current todays devbranch 1.77.142777)
Description
Description
Details
Details
- Severity
- Major
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Scripting
Steps To Reproduce
Paste this into debug console on an empty map:
[slick1,slick2,slick3,slick4,slick5] select {not isNil {_x}}
Notice no error popping up.
Now spawn the same code:
nul = [] spawn {[slick1,slick2,slick3,slick4,slick5] select {not isNil {_x}};};
Error pops up.
Is this intended?
Event Timeline
Comment Actions
This is intended. Debug console code runs in unscheduled. And unscheduled doesn't care about Nil variables.
Actually it is a specialty of scheduled code that it errors on Nil variables. So yes. This is intended. This is not a bug. This issue can be closed.