[swift-dev] Unsupported imported target type MODULE_LIBRARY

2016-07-07 Thread Minsheng Liu via swift-dev
Hi, I am running the second preview of macOS Sierra and am attempting to build swift. LLVM and cmark built successfully, but swift failed during the configuration stage with the error message Unsupported imported target type MODULE_LIBRARY I hacked the cmake file by bypassing the conditional che

Re: [swift-dev] Consider removing the space in Swift AST dump's "decl" attribute?

2016-05-09 Thread Minsheng Liu via swift-dev
there any recommended way to reuse the compiler’s front-end? Thank you, Minsheng Dmitri Gribenko 于2016年5月9日周一 上午9:10写道: > On Sun, May 8, 2016 at 8:22 PM, Minsheng Liu via swift-dev > wrote: > > Hi, > > > > I notice that currently the dumped AST contains a parsing-unfriendl

[swift-dev] Consider removing the space in Swift AST dump's "decl" attribute?

2016-05-09 Thread Minsheng Liu via swift-dev
Hi, I notice that currently the dumped AST contains a parsing-unfriendly “decl” attribute like this: > decl=fib.(file).func decl.b@fib.swift:4:9 The “func decl” contains a space but has nothing like a quote around it. The whole AST output is delimited by spaces. I think this might create some diff