Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
castwide
/
solargraph
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
167
Star
2k
Code
Issues
172
Pull requests
75
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Fix raise/fail nil guards, root-scoped is_a?, case/when, ||=, and namespace-scope narrowing in flow-sensitive typing
- #1259
#1259
Open
apiology
wants to merge 15 commits into
castwide:master
castwide/solargraph:master
from
apiology:worktree-fix-1254-nil-guard-narrowing
apiology/solargraph:worktree-fix-1254-nil-guard-narrowing
Copy head branch name to clipboard
Conversation
Commits
15
(15)
Checks
Files changed
Open
Fix raise/fail nil guards, root-scoped is_a?, case/when, ||=, and namespace-scope narrowing in flow-sensitive typing
#1259
apiology
wants to merge 15 commits into
castwide:master
castwide/solargraph:master
from
apiology:worktree-fix-1254-nil-guard-narrowing
apiology/solargraph:worktree-fix-1254-nil-guard-narrowing
Copy head branch name to clipboard
Commits
Commits on Aug 3, 2026
Recognize raise/fail as compound-statement-leaving in flow-sensitive typing
Show description for 58db074
apiology
committed
58db074
View commit details
Copy full SHA for 58db074
Browse repository at this point
Handle root-scoped (::-prefixed) constants in is_a? narrowing
Show description for 7e9a53b
apiology
committed
7e9a53b
View commit details
Copy full SHA for 7e9a53b
Browse repository at this point
Narrow a case/when subject to the matched class in each branch
Show description for f682ff4
apiology
committed
f682ff4
View commit details
Copy full SHA for f682ff4
Browse repository at this point
Commits on Aug 4, 2026
Reproduce the ||= on lvars flow-sensitive-typing gap
Show description for e85bdbd
apiology
committed
e85bdbd
View commit details
Copy full SHA for e85bdbd
Browse repository at this point
Narrow x ||= value on lvars and ivars to eliminate nil
Show description for b2a5b13
apiology
committed
b2a5b13
View commit details
Copy full SHA for b2a5b13
Browse repository at this point
Fix mislabeled sg-ignores in process_or_asgn
Show description for 55f1c1e
apiology
committed
55f1c1e
View commit details
Copy full SHA for 55f1c1e
Browse repository at this point
Replace the last sg-ignore in OrasgnNode with a real guard
Show description for c666672
apiology
committed
c666672
View commit details
Copy full SHA for c666672
Browse repository at this point
Commits on Aug 6, 2026
Recognize multi-statement raise/fail branches in flow-sensitive typing
Show description for c41d1a3
apiology
committed
c41d1a3
View commit details
Copy full SHA for c41d1a3
Browse repository at this point
Infer only the lhs type for x || raise(...) and x ||= raise(...)
Show description for 58a780f
apiology
and
claude
committed
58a780f
View commit details
Copy full SHA for 58a780f
Browse repository at this point
Commits on Aug 26, 2026
Directly exercise Or#resolve rhs_never_returns branch
Show description for df96759
apiology
committed
df96759
View commit details
Copy full SHA for df96759
Browse repository at this point
Commits on Aug 28, 2026
Narrow is_a?/nil? guards at file and class-body scope
Show description for d77e367
apiology
committed
d77e367
View commit details
Copy full SHA for d77e367
Browse repository at this point
Commits on Aug 31, 2026
Merge remote-tracking branch 'origin/master' into worktree-fix-1254-nil-guard-narrowing
apiology
committed
678c64e
View commit details
Copy full SHA for 678c64e
Browse repository at this point
Commits on Sep 1, 2026
Trim PR 1259 comments and fix a wrong sg-ignore label
Show description for 124d9aa
apiology
committed
124d9aa
View commit details
Copy full SHA for 124d9aa
Browse repository at this point
Commits on Sep 3, 2026
Add spec for Chain::Or's nil-lhs-type branch
Show description for 15223d2
apiology
committed
15223d2
View commit details
Copy full SHA for 15223d2
Browse repository at this point
Commits on Sep 5, 2026
Address review comments on or-chain narrowing
Show description for 05594a7
apiology
committed
05594a7
View commit details
Copy full SHA for 05594a7
Browse repository at this point
You can’t perform that action at this time.