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
Why: The suggestion correctly identifies a type mismatch between the @tmp_files instance variable and the self.tmp_files method's return type, proposing a fix that improves type safety.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
🔗 Related Issues
This continues the work started here: #10943
💥 What does this PR do?
This PR fixes all Steep by updating RBS signature files
Key changes:
🔧 Implementation Notes
All fixes were made at the RBS level without modifying any Ruby source code.
💡 Additional Considerations
severity_level: errorto only fail on errors, not warningsFuture work could include:
🔄 Types of changes
PR Type
Bug fix, Enhancement
Description
Updated Steep type checker to v1.10.0 and fixed RBS signature files
Reduced type checking errors from 66 to 64 by improving type annotations
Added missing RBS signatures for BiDi, DevTools, and other modules
Configured Steep Rake task to report only errors, suppressing warnings
Updated Ruby version to 3.2.8 and refreshed gem dependencies
Diagram Walkthrough
File Walkthrough
2 files
Update Ruby version to 3.2.8Add Steep configuration template file3 files
Update gem checksums for dependenciesUpgrade Steep from 1.5.0 to 1.10.0Update RBS collection with new gem signatures9 files
Add Steep Rake task with error-level severityAdd RBS signatures for rubyzip gemDefine Window class with proper attributesAdd new FedCM dialog driver extension signaturesAdd NoSuchTargetError exception classAdd new PrintOptions class RBS signaturesAdd RUBYZIP_V3 constant definitionAdd initialize method signature for Firefox ServiceAdd BINARY_ENCODINGS constant and encoding methods20 files
Reorganize ignored files and reduce error countFix method signatures with keyword argumentsAdd pattern_type parameter and fix return typeUse union types for nullable attributesUse union types for nullable reason attributeSpecify concrete types for instance variablesImprove type specificity for prefs methodsAdd target_type parameter and specify return typeAdd missing _Driver include for moduleAdd missing _Driver include for moduleImprove type annotations for class variablesFix initialize_local_driver signature with blockImprove type signatures for private methodsAdd delegated methods and fix callback typesFix initialize signature and add_callback return typeAdd target_type parameter to initializationSpecify concrete type for EXTENSIONS constantAdd Bridge parent class inheritanceFix bidi method return type to BiDi classSpecify concrete types for timeouts methods1 files