Closed benloh closed 1 year ago
In GitLab by @daveseah on Jul 18, 2022, 10:01
marked this merge request as ready
@daveseah Actually I've been trying to convert all references to blueprint id
or bpid
to bpName
. But hadn't gotten around to converting all the instances defs. Probably fine for now for consistency-sake.
Confirmed runs. Confirmed all onEvent lines run. OK to merge!
mentioned in commit 07024c28cba360a34a42bd987098dbe76d9ab28d
In GitLab by @daveseah on Jul 18, 2022, 10:00
Merges dev-sri/420-onevent-interim-fix -> dev-next-gui
Keyword onEvent Bug
There was a reported issue in #420 that code like this failed to function as expected:
In the above, only "hello" would be output to the console, leaving the programmer to hum the second line and feel unfulfilled.
This is due to a bug in onEvent itself where it was using an old utility called
derefFirstArg()
which just uses the first element of an array. It has been removedSimulator Control Cleanup
sim-rounds
,api-sim
, andmod-sim-control
modules have been organized, linted, reformatted, and conformed to our current coding practice.