gavr123456789 / Niva

Smalltalk like programming language
https://gavr123456789.github.io/niva-site
41 stars 2 forks source link

Wrong error message about non resolved reciever type #309

Closed gavr123456789 closed 2 weeks ago

gavr123456789 commented 2 weeks ago
// type IAddition
//   add: [Int, Int -> Int]

Int x::IAddition = [ // Method `Int x: IAddition -> Unit` for unresolved type: `Int`
  x add Int: 1 Int: 2
]