Skip to content

Force Unwraps #369

@eugeneego

Description

@eugeneego

Recently read the codebase and found that force unwraps are widely used for casting SourceKit response values.
It leads to dangerous unstable behavior.
Every single change in SourceKit response will crash the framework and the client application.
It doesn't feel right.

Did you plan some validation and user friendly errors?
Or maybe replacing dictionaries with strong types (like CodeCompletionItem)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions