hylo icon indicating copy to clipboard operation
hylo copied to clipboard

Tuple labels not happening

Open dabrahams opened this issue 8 months ago • 0 comments

On requirements-machine branch:

public typealias Vec2 = {x: Float64, y: Float64}

fun f(_ v: Vec2) -> Bool { v.x > v.y } // error: type 'Vec2' has no member 'x'

dabrahams avatar Jun 24 '24 06:06 dabrahams