slack icon indicating copy to clipboard operation
slack copied to clipboard

fix invalid context block error

Open derekperkins opened this issue 3 years ago • 2 comments

This fixes #559 by making a compile time error for adding a non-pointer ContextBlock to a slice of blocks

derekperkins avatar Jan 23 '21 19:01 derekperkins

I'm not sure what a test will accomplish, this is just a compiler issue. It never worked before, it just failed at runtime.

derekperkins avatar Mar 16 '21 21:03 derekperkins

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.

kanata2 avatar Apr 18 '21 14:04 kanata2

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.

github-actions[bot] avatar Apr 05 '23 23:04 github-actions[bot]

This PR was closed because it has been stalled for 10 days with no activity.

github-actions[bot] avatar Apr 17 '23 00:04 github-actions[bot]