Comments (1)
begin
0/0
rescue StandardError => e
a = e
end
p a
check with all_error
diagnostic:
# Type checking files:
....................................................................................
No type error detected. π΅
begin
0/0
rescue StandardError => e
a = e
end
raise a
check with default diagnostic:
# Type checking files:
...................................................................................F
ruby.rb:7:0: [error] Cannot find compatible overloading of method `raise` of type `::Object`
β Method types:
β def raise: () -> bot
β | (::string, ?cause: (::Exception | nil)) -> bot
β | (::_Exception, ?(::_ToS | nil), ?(nil | ::String | ::Array[::String]), ?cause: (::Exception | nil)) -> bot
β
β Diagnostic ID: Ruby::UnresolvedOverloading
β
β raise a
~~~~~~~
Detected 1 problem from 1 file
from steep.
Related Issues (20)
- Comments for `#@type` annotations
- Type variable application rejects `self` and crash+deadlocks for `instance` HOT 2
- Steep crashes when a void or top is passed to an interface argument HOT 1
- Support splatting non-`_ToA`s
- Support Or-Assigning (`||=`) a constant
- Improve text synchronization
- Better method call error reporting
- Steep does not support inverting a boolish value HOT 2
- `ArgumentTypeMismatch` when splatting an array into args
- do block inside class with in Data.define not correctly identified
- Use βCannot find the declaration of methodβ for methods defined in Ruby but not in RBS
- Passing splat arg to `untyped` call reports `Ruby::UnsupportedSyntax`
- Typechecking DSL files: top-level context and block context HOT 2
- Output format selection and improved automation formats HOT 2
- `steep check` target selection HOT 1
- Check for missing method declaration HOT 1
- About external libraries without type definitions HOT 2
- Overloaded `Proc#initialize` implodes Steep HOT 2
- Does the rbs collection be included in the steep check is default behavior? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steep.