solargraph icon indicating copy to clipboard operation
solargraph copied to clipboard

Unresolved type for ActiveSupport

Open thornomad opened this issue 3 years ago • 1 comments

Hello and thank you!

With Solagraph version 0.4.3 and type checking enabled I am seeing this error even though ActiveSupport::Duration is a valid type.

[Typecheck] [E] Unresolved type ActiveSupport::Duration for interval param on OctocastCycle::OctocastShifter#shift_upcoming_octocasts_by
image

I have run solgraph bundle to install required documentation. My solargraph.yml file:

---
include:
- "**/*.rb"
exclude:
- spec/**/*
- test/**/*
- vendor/**/*
- ".bundle/**/*"
require:
- actioncable
- actionmailer
- actionpack
- actionview
- activejob
- activemodel
- activerecord
- activestorage
- activesupport
domains: []
reporters:
- rubocop
- typecheck
require_paths: []
max_files: 5000

Is there something else I'm missing? I've looked over the documentation and some of the current issues but don't see this mentioned. Thanks again.

thornomad avatar Feb 04 '22 16:02 thornomad

Am also running into this issue w/false positives.

cflannagan avatar Apr 28 '22 14:04 cflannagan