Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on New Diagnostic Architecture Overview. Parent comment
error: binary operator '+' cannot be applied to operands of type 'String' and 'Int'
_ = "a" + 1
~~~ ^ ~
^
@inlinable public static func + (lhs: String, rhs: String) -> String ^
public static func + (lhs: Int, rhs: Int) -> Int ^
There are no comments on this comment yet.
error: binary operator '+' cannot be applied to operands of type 'String' and 'Int'
_ = "a" + 1
note: overloads for '+' exist with these partially matching parameter lists: (Int, Int), (String, String)_ = "a" + 1
note: candidate expects value of type 'String' for parameter #2 note: candidate expects value of type 'Int' for parameter #1