You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(To expand upon that todo: Once I we reach a point when source_code_unit does not require PiranhaArguments as a whole, I will move this check related to user_defined_rules.graph().is_empty() (l. 287)) into PiranhaArgumentBuilder's validate function (and panic, rather than warn).
Currently, we just print a warning and do no change to the code bass (when no user rules are provided)
The text was updated successfully, but these errors were encountered:
ketkarameya
changed the title
[Simplified the code] Basically added _arg.rule_graph().clone() as default value for user_defined_rules.
Remove PiranhaArguments from SourceCodeUnitFeb 21, 2023
(To expand upon that todo: Once I we reach a point when
source_code_unit
does not requirePiranhaArguments
as a whole, I will move this check related touser_defined_rules.graph().is_empty()
(l. 287)) into PiranhaArgumentBuilder's validate function (andpanic
, rather thanwarn
).Currently, we just print a warning and do no change to the code bass (when no user rules are provided)
Originally posted by @ketkarameya in #380 (comment)
The text was updated successfully, but these errors were encountered: