Skip to content

Force Unwraps #369

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)?

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions