What does this program print?

from Protocols
Swift 6.3.3 intermediate 2 min

What does this program print?

swift
protocol Labeled {}

extension Labeled {
    func label() -> String { "default" }
}

struct Job: Labeled {
    func label() -> String { "job" }
}

let concrete = Job()
let erased: any Labeled = concrete
print(concrete.label())
print(erased.label())
Open in playground
Report an error