Input
No response
Undesirable behavior
The functionality for the feature(s):
- Other: generated SCIP file
has undesirable behavior:
- Has incorrect information
in the following contexts that I've seen:
- Across functions within the same file
Expected behavior
Generated ProjectRoot File URI is missing one slash.
Metadata: &scip.Metadata{
Version: 0,
ToolInfo: &scip.ToolInfo{
Name: "scip-ruby",
Version: "0.5",
Arguments: []string{
"FIXME",
},
},
ProjectRoot: "file://data/s/gitlab-development-kit",
TextDocumentEncoding: 1,
},
scip-code/scip#98 (comment)
scip-ruby-debug indexing output
No response
Configuration
✗ /data/s/scip-ruby --version
scip-ruby 0.3.8 git 797dae83e1b8419f14fb2c9944d4f0357b88a16d debug_symbols=true clean=1
Based on Sorbet 0.5 0f6fd90cdf20d507f20dcbe928431dc16d3e1793
Additional info
The bug happens here.
|
metadata.set_project_root("file:/" + filesystem::current_path().string()); |
Input
No response
Undesirable behavior
The functionality for the feature(s):
has undesirable behavior:
in the following contexts that I've seen:
Expected behavior
Generated
ProjectRootFile URI is missing one slash.scip-code/scip#98 (comment)
scip-ruby-debug indexing output
No response
Configuration
Additional info
The bug happens here.
scip-ruby/scip_indexer/SCIPIndexer.cc
Line 1278 in 797dae8