Re: [swift-dev] Compiling SIL with swiftc

2015-12-31 Thread Joe Groff via swift-dev
> On Dec 31, 2015, at 2:33 AM, Luke Howard via swift-dev > wrote: > > Newbie question, is the following supposed to work? > > $ ./swiftc -emit-sil -o lookup.sil lookup.swift > $ ./swiftc -parse-sil -o lookup lookup.sil > > It fails with a gazillion errors: > > lookup.sil:61:25: error: use of

[swift-dev] Compiling SIL with swiftc

2015-12-31 Thread Luke Howard via swift-dev
Newbie question, is the following supposed to work? $ ./swiftc -emit-sil -o lookup.sil lookup.swift $ ./swiftc -parse-sil -o lookup lookup.sil It fails with a gazillion errors: lookup.sil:61:25: error: use of undeclared type 'SomeProtocol' %23 = metatype $@thin SomeProtocol.Protocol