Skip to content

Invalid SCIP symbol: empty identifier #89

Description

@olafurpg

Steps to reproduce

❯ scip-ruby --version
Sorbet typechecker 0.5.1 git 092c64e9986f3ecca0990c051dcfb1b76f52d5bb debug_symbols=true clean=1
❯ git clone https://github.com/homebrew/brew
❯ cd brew library/homebrew
❯ rvm use 2.6.10
❯ bundle install
❯ scip-ruby --index-file index.scip
❯ scip snapshot --from index.scip --to scip-snapshot
...
scip-ruby gem TODO TODO PATH#empty?().: empty identifier
scip-ruby gem TODO TODO PATH#empty?().
____________________________________^
scip-ruby gem TODO TODO PATH#@paths.: empty identifier
scip-ruby gem TODO TODO PATH#@paths.
_____________________________^
scip-ruby gem TODO TODO Sorbet#Private#<Class:Static>#sig().: empty identifier
scip-ruby gem TODO TODO Sorbet#Private#<Class:Static>#sig().
_______________________________________^

I expected there to be no errors in the last scip snapshot command.
The SCIP symbol parser is expecting a non-empty identifier to appear after the # symbol.
The symbol would be valid if the <Class:Static> becomes an identifier

Sorbet#Private#`<Class:Static>`#sig().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions