Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing issue #849 #857

Merged
merged 6 commits into from
Apr 4, 2025
Merged

Fixing issue #849 #857

merged 6 commits into from
Apr 4, 2025

Conversation

marcoeilers
Copy link
Contributor

@marcoeilers marcoeilers commented Mar 18, 2025

ExtensionExp gets new abstract methods extensionIsValidTrigger and extensionIsForbiddenInTrigger (similar to extensionIsPure etc.), which return false and true by default, which can be used by extension expressions to decide whether they can be used as triggers or not. This replaces the previous behavior where our consistency checks would always reject extension expressions as triggers.

This fixes issue #849.

@marcoeilers marcoeilers enabled auto-merge (squash) March 18, 2025 18:11
@marcoeilers marcoeilers requested a review from ArquintL April 4, 2025 13:04
@marcoeilers
Copy link
Contributor Author

@ArquintL I'd like to use his in the SIF plugin to make sure SIF expressions in triggers don't lead to crashes, as is currently the case.

Copy link
Member

@ArquintL ArquintL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I've left one minor remark

@marcoeilers marcoeilers disabled auto-merge April 4, 2025 13:42
@marcoeilers marcoeilers enabled auto-merge (squash) April 4, 2025 13:42
@marcoeilers marcoeilers merged commit 94bd536 into master Apr 4, 2025
5 checks passed
@marcoeilers marcoeilers deleted the meilers_fix_849 branch April 4, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants