Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions scip_indexer/SCIPIndexer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -858,12 +858,14 @@ class CFGTraversal final {
if (it != this->localDefinitionType.end()) {
overrideType = computeOverrideType(it->second, type);
} else {
LOG_DEBUG(
gs, core::Loc(file, loc),
fmt::format(
"failed to find type info; are you using a code pattern unsupported by Sorbet?\ndebugging "
"information: aliasMap: {}",
this->aliasMap.showRaw(gs, file, cfg)));
if (file.data(gs).strictLevel >= core::StrictLevel::True) {
LOG_DEBUG(
gs, core::Loc(file, loc),
fmt::format(
"failed to find type info; are you using a code pattern unsupported by Sorbet?\ndebugging "
"information: aliasMap: {}",
this->aliasMap.showRaw(gs, file, cfg)));
}
overrideType = type;
}
if (isDefinition) {
Expand Down