Skip to content

Instantly share code, notes, and snippets.

@lexuanquynh
Created June 16, 2025 08:56
Show Gist options
  • Save lexuanquynh/e7cdcdae679a18b67a84f947b48f2d51 to your computer and use it in GitHub Desktop.
Save lexuanquynh/e7cdcdae679a18b67a84f947b48f2d51 to your computer and use it in GitHub Desktop.
/employee.swift:4:18: error: cannot find type 'Foo' in scope
var houseNo: Foo { get }
^~~
(source_file "./employee.swift"
(import_decl range=[./employee.swift:1:1 - line:1:8] 'Foundation')
(protocol range=[./employee.swift:3:8 - line:8:1] "Address" <Self : Address> interface type='Address.Protocol' access=public non-resilient requirement signature=<Self>
(pattern_binding_decl range=[./employee.swift:4:5 - line:4:28]
(pattern_typed type='<<error type>>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment