Open YaqiWang opened 4 years ago
This is about unused parameter warnings.
For this to work with mesh-only
we would need to verify that no later Actions are registered to the current block - and only issue unused parameter warnings in that case. Otherwise, multiple Actions reading different parameters from the same block on either side of the mesh-only
"barrier" would generate spurious warnings
Bug Description
If we add a wrong parameter (non-required) in a mesh generator, the code will run fine in
--mesh-only
mode although it should produce a warning or error.Steps to Reproduce
Can be produced by intentionally introducing a typo in a non-required parameter.
Impact
Prevent unexpected behavior from happening.