Skip to content

Use not_nil! from type_toolkit gem#838

Merged
dersam merged 2 commits intomainfrom
Alex/use-type_toolkit
Mar 5, 2026
Merged

Use not_nil! from type_toolkit gem#838
dersam merged 2 commits intomainfrom
Alex/use-type_toolkit

Conversation

@amomchilov
Copy link
Contributor

Roast doesn't need its own copy anymore :)

#
# source://type_toolkit//lib/type_toolkit/ext/nil_assertions.rb#10
module Kernel
# : -> self
Copy link
Contributor Author

@amomchilov amomchilov Mar 4, 2026

Choose a reason for hiding this comment

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

@Morriar Any idea why this isn't get picked up and emitted as a sig?

It looks right in the gem code: https://github.com/Shopify/type_toolkit/blob/v0.0.5/lib/type_toolkit/ext/nil_assertions.rb

Copy link
Contributor

Choose a reason for hiding this comment

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

Is it the space? # : vs #:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's no space in the gme source. Tapioca is added it in an attempt to format the docstring, but it's not recognizing it as an RBS sig

Copy link

Choose a reason for hiding this comment

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

The space should have been fixed since Shopify/tapioca#2364. What Tapioca version are we using?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahhh I knew this looked familiar, but I couldn't find it.

Roast is using 0.16.11, but we need 0.17.8 for that bugfix. Bumping.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Bumped in a new PR stacked under this on, #839

@amomchilov amomchilov changed the base branch from main to graphite-base/838 March 4, 2026 23:34
@amomchilov amomchilov force-pushed the Alex/use-type_toolkit branch from e7f2c20 to 1aa9cbd Compare March 4, 2026 23:34
@amomchilov amomchilov changed the base branch from graphite-base/838 to Alex/upgrade-sorbet March 4, 2026 23:34
@amomchilov
Copy link
Contributor Author

amomchilov commented Mar 4, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@amomchilov amomchilov force-pushed the Alex/use-type_toolkit branch from 1aa9cbd to 7171dbc Compare March 4, 2026 23:47
Copy link
Contributor

dersam commented Mar 5, 2026

Merge activity

  • Mar 5, 1:32 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Mar 5, 1:33 PM UTC: Graphite rebased this pull request as part of a merge.
  • Mar 5, 1:35 PM UTC: @dersam merged this pull request with Graphite.

@dersam dersam changed the base branch from Alex/upgrade-sorbet to graphite-base/838 March 5, 2026 13:32
@dersam dersam changed the base branch from graphite-base/838 to main March 5, 2026 13:33
@dersam dersam force-pushed the Alex/use-type_toolkit branch from 7171dbc to 45595f5 Compare March 5, 2026 13:33
@dersam dersam merged commit df8aeee into main Mar 5, 2026
3 checks passed
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.

3 participants