[ https://issues.apache.org/jira/browse/THRIFT-4304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neia Neutuladh updated THRIFT-4304: ----------------------------------- Description: D supports conditional compilation via version (foo) { ... } blocks. It would be handy to put the dlang server skeleton in that to avoid an error due to duplicate definitions of the 'main' function. (was: D supports conditional compilation via {{version (foo) { ... }}} blocks. It would be handy to put the dlang server skeleton in that to avoid an error due to duplicate definitions of the `main` function.) > Version out the server skeleton > ------------------------------- > > Key: THRIFT-4304 > URL: https://issues.apache.org/jira/browse/THRIFT-4304 > Project: Thrift > Issue Type: Improvement > Components: D - Compiler > Reporter: Neia Neutuladh > Priority: Minor > Attachments: THRIFT-4304 version out dlang server skeleton.diff > > > D supports conditional compilation via version (foo) { ... } blocks. It would > be handy to put the dlang server skeleton in that to avoid an error due to > duplicate definitions of the 'main' function. -- This message was sent by Atlassian JIRA (v6.4.14#64029)