Skip to content

Code from example doesn't work #123

@gerchicov-bp

Description

@gerchicov-bp

Description
The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
File:
https://github.com/efremidze/Cluster/blob/a85c120db368b919aa4de313a2d35dfc8b28faff/Example/ViewController.swift
code:

annotation.coordinate = CLLocationCoordinate2D(latitude: region.center.latitude + drand48() * region.delta - region.delta / 2, longitude: region.center.longitude + drand48() * region.delta - region.delta / 2)

Screenshots
no need

Smartphone

  • Device: independent
  • OS: iOS 13 simulator
  • Version: none

Checklist

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