Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@belisarius222
Copy link
Collaborator

+sloe, which lists the arms of a core type, was broken for core types wrapped in a %hint tag, producing ~ as though the core had no arms. This fix unwraps the %hint using +repo:ut, like everything else.

I think this bug arose because %hint was added later, and there was no type error because it was wildcard-matched with a ?+. I hope this is the only such case!

Copy link
Contributor

@pilfer-pandex pilfer-pandex left a comment

Choose a reason for hiding this comment

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

Good catch!

In haskell, it's considered a bad idea to supply a default case when you pattern match for exactly this reason, because it turns off missing-pattern checking. So I'd argue, ?+ considered harmful.

jtobin pushed a commit that referenced this pull request Apr 23, 2020
* ted/sloe:
  pill: update solid
  fix +sloe for %hint'ed cores

Signed-off-by: Jared Tobin <[email protected]>
@jtobin jtobin merged commit 7b19580 into master Apr 23, 2020
@jtobin jtobin deleted the ted/sloe branch April 23, 2020 11:07
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.

4 participants