Thanks Slava, Joe, and Jordan.
With -frontend flag, I was able to parse classdecl.sil.
However, I still have a problem with another very simple Swift source code
which declares a value initialized with an integer literal.
I am wondering if it is possible to compile some non-trivial Swift code to
> On Jun 21, 2016, at 14:10, Joe Groff via swift-dev
> wrote:
>
>
>> On Jun 21, 2016, at 2:03 PM, Slava Pestov via swift-dev
>> wrote:
>>
>> Hi Mikio,
>>
>> Try this:
>>
>> swiftc -frontend -emit-silgen classdecl.swift > classdecl.sil
>> swiftc -parse-sil classdecl.sil
>>
>> I'm not sure
> On Jun 21, 2016, at 2:03 PM, Slava Pestov via swift-dev
> wrote:
>
> Hi Mikio,
>
> Try this:
>
> swiftc -frontend -emit-silgen classdecl.swift > classdecl.sil
> swiftc -parse-sil classdecl.sil
>
> I'm not sure why -emit-silgen sometimes emits type declarations and other
> times not. The o
Hi Mikio,
Try this:
swiftc -frontend -emit-silgen classdecl.swift > classdecl.sil
swiftc -parse-sil classdecl.sil
I'm not sure why -emit-silgen sometimes emits type declarations and other times
not. The only difference I can see is what without the -frontend flag, the
driver passes in -primary