-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
help wantedExternal contributions actively solicitedExternal contributions actively solicited
Description
goog.asserts functions will only throw when goog.asserts.ENABLE_ASSERTS is true. This is turned off as part of the compilation process, and so no asserts will throw in the blockly_compressed.js package. We want these validations for user data, and should replace goog.assert in those case.
goog.asserts methods should be reserved for checks against things that should never happen (cases the imply other code is wrong). Not expected failures.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExternal contributions actively solicitedExternal contributions actively solicited