Comments (1)
I'm also running into this, and I can fix it by adding the following additional signature:
module A
module Example
class TestClass
def self.instance: () -> singleton(A::Example::TestClass)
end
end
end
But then I get a new error:
Type `singleton(::A::Example::TestClass)` does not have method `example`
from rbs.
Related Issues (20)
- How to deal with gems with integrations
- Incorrrect signatures for ruby 3.3.0
- Type signature failures in net-http
- support * in tuples HOT 3
- Position of RBS::Location should be byte length HOT 3
- `rbs collection install` fails with parse error HOT 8
- Identify and skip `development` dependencies
- Support type narrowing HOT 2
- Cannot call `super` in block
- Test for project integration HOT 1
- Test for project integration
- %a{pure} does not seem to work for attr_reader HOT 3
- inline type narrowing HOT 1
- Array(T | Array[T]) not well handled HOT 2
- Method overload narrowing
- Windows build is failing HOT 9
- calling #each on obj typed with record yields |bot, bot| types HOT 3
- rbs validate: NoMethodError for a method taking a block HOT 1
- Enumerator::Chain#chain excepts Enumerator::Chain[T] as its arguments HOT 1
- Make C-extension Ractor-safe
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 rbs.