phetsims / chipper

Tools for developing and building PhET interactive simulations.
http://scenerystack.org/
MIT License
12 stars 14 forks source link

restrictAccessModifiers should use `check()` #1504

Closed zepumph closed 1 month ago

zepumph commented 1 month ago

From https://github.com/phetsims/perennial/issues/364#issuecomment-2427558664.

This is currently broken:

https://github.com/phetsims/chipper/blob/43f55df8dd41c3fb6a7d948b3f1e0f172c0d498a/js/scripts/restrictAccessModifiers.mjs#L145

samreid commented 1 month ago

Fixed and tested on density-buoyancy-common, closing. Also it is much faster now that we are using project references.