Skip to content

The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions #6

@zhiyao92

Description

@zhiyao92

Hey, good job on making this library public but I do have some concern which you might be able to help me answer. Using the code alone, I got into an error The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions where it happen at multiple places such as:

  1. ExtendedDotDrawer - line 34 & line 73

Paul Hudson talked about some of this stuffs.
https://www.hackingwithswift.com/example-code/language/how-to-fix-the-error-expression-was-too-complex-to-be-solved-in-reasonable-time

This could happen on a slower laptop but do you think you could break them down into pieces? I am currently running on a MacBook Pro 15inch 2018

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