Skip to content

Build error #27

@bmdelacruz

Description

@bmdelacruz

I'm trying to run your demo application but the build failed because of the error below.

Compile Swift Module 'Silica' (19 sources)
/home/bmdelacruz/Documents/Projects/swift/Cacao/.build/checkouts/Silica.git-4667709516086632535/Sources/Silica/CGRect.swift:32:56: error: ambiguous use of 'nan'
    public static var null: CGRect { return CGRect(x: .nan, y: .nan, width: .nan, height: .nan) }
                                                       ^
Foundation.CGFloat:14:23: note: found this candidate
    public static var nan: Foundation.CGFloat { get }
                      ^
Swift.Double:137:23: note: found this candidate
    public static var nan: Double { get }

OS: Ubuntu 16.04
Swift version: Swift version 4.0-dev (LLVM 2dedb62a0b, Clang b9d76a314c, Swift 61ad3c07ef)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions