slack
slack copied to clipboard
fix invalid context block error
This fixes #559 by making a compile time error for adding a non-pointer ContextBlock
to a slice of blocks
I'm not sure what a test will accomplish, this is just a compiler issue. It never worked before, it just failed at runtime.
Ah, sorry. My understanding was wrong.
By the way, this problem can also occur with BlockAction
🤔
I think it would be desirable to have a solution that prevents this problem from happening in other blocks as well.
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This PR was closed because it has been stalled for 10 days with no activity.