Re: [swift-dev] Starter project: SR-2: Build configuration directives can not wrap switch cases
On Sun, Dec 6, 2015 at 5:04 PM, Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote: Hi, > > If you're looking for a starter project in the frontend area (parser > in this case), here is one. > > https://bugs.swift.org/browse/SR-2 > > This code should be accepted, but it is rejected now: > > switch 10 { > case 10: > break > #if FOO > case 20: > break > #endif > } > > $ swiftc /tmp/a.swift > /tmp/a.swift:5:3: error: 'case' label can only appear inside a > 'switch' statement > case 20: > ^ > I will take a look at this one. Cheers, -- Meador ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev
Re: [swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7
On Mon, Dec 7, 2015 at 11:47 AM, Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote: Hi, > > RHEL 7 and CentOS 7 are widely used as server operating systems, and > porting Swift to these distributions would benefit many community > members. It should be relatively easy to do, since RHEL 7 is > fundamentally another Linux system that uses the same basic libraries > as other Linux ports we already (Glibc, libstdc++), and the library > versions are more or less recent. > > This project is an easy way to become familiar with the build system, > and various components of the project, and to start contributing! > > https://bugs.swift.org/browse/SR-108 I will take a look at CentOS 7 (I don't have access to the RHEL). Is it okay to assign JIRA bugs to myself? -- Meador ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev
Re: [swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7
On Mon, Dec 7, 2015 at 1:42 PM, Manolo van Ee wrote: I'd be happy to help out as well with Centos 7 if we can easily divide > tasks. Otherwise I can focus on Fedora, which should be similar, but might > behave a little different. > Thanks! I plan on scoping it out later today. I will update SR-108 with my findings (including whether the work can easily be broken down). Continuing with Fedora for now sounds good to me. I fixed the Glibc header problem, which you will undoubtedly encounter on > Centos 7 as well. See pull request: > https://github.com/apple/swift/pull/282 Ah, great. Thanks for the pointer. Cheers, Meador ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev
Re: [swift-dev] Starter bug: Sequence.flatMap() is missing a @noescape
On Mon, Dec 7, 2015 at 5:02 PM, Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote: > Hi everyone, > > Here's another simple starter bug. > > Sequence.flatMap() is missing a @noescape on the closure. > > This is a pretty straightforward change, requires an accompanying > test, and a proposal to swift-evolution. > > https://bugs.swift.org/browse/SR-126 Proposal mail here: https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20151207/001025.html Cheers, Meador ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev
Re: [swift-dev] Starter Project
On Tue, Dec 8, 2015 at 1:03 PM, Sergey Bolshedvorsky via swift-dev < swift-dev@swift.org> wrote: Hi everyone, > > I’m looking for a starter project on swift. Something what would be useful > and what would allow me to dive into the code. I could take one of the JIRA > tickets. Do not want to fix typos. :) > Did you look at the unassigned start bugs? https://bugs.swift.org/issues/?jql=labels%20%3D%20StarterBug%20AND%20assignee%20in%20(EMPTY) You might want to cross check those with the mailing list and see if there has been discussion about them already. Cheers, Meador ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev
Re: [swift-dev] Starter Project
(CC'd back the list) On Tue, Dec 8, 2015 at 1:19 PM, Sergey Bolshedvorsky < ser...@bolshedvorsky.com> wrote: I could take this ticket: https://bugs.swift.org/browse/SR-125 > Go for it! I see where you already assigned it to yourself in JIRA. Have fun :-) Cheers, Meador ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev
Re: [swift-dev] Building on Fedora
On Sun, Dec 13, 2015 at 12:17 PM, Brad Erickson via swift-dev < swift-dev@swift.org> wrote: I've got Swift building now on Fedora 23. The only problem issue I'm > running into is probably related to: > https://llvm.org/bugs/show_bug.cgi?id=23785 > > CMake Error at scripts/cmake_install.cmake:36 (file): > file INSTALL cannot find > "/build/buildbot_linux/lldb-linux-x86_64/lib/python2.7". > Call Stack (most recent call first): > cmake_install.cmake:42 (include) > FAILED: cd /build/buildbot_linux/lldb-linux-x86_64 && /usr/bin/cmake -P > cmake_install.cmake > ninja: build stopped: subcommand failed. > > The workaround is: > ln -s /build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7 > /build/buildbot_linux/lldb-linux-x86_64/lib/python2.7 > It is related. This was mentioned in SR-100 as well: https://bugs.swift.org/browse/SR-100 Cheers, Meador ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev
Re: [swift-dev] Starter project: SR-2: Build configuration directives can not wrap switch cases
On Sun, Dec 6, 2015 at 5:04 PM, Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote: Hi, > > If you're looking for a starter project in the frontend area (parser > in this case), here is one. > > https://bugs.swift.org/browse/SR-2 > > This code should be accepted, but it is rejected now: > > switch 10 { > case 10: > break > #if FOO > case 20: > break > #endif > } > > $ swiftc /tmp/a.swift > /tmp/a.swift:5:3: error: 'case' label can only appear inside a > 'switch' statement > case 20: > ^ > Quick question about this one. As mentioned in SR-2, the current grammar for switch statements [1] does not allow for compiler control statements. So, fixing this involves a grammar change. I suspect that grammar changes will require a proposal on the swift-evo list? Cheers, Meador [1] https://developer.apple.com/library/mac/documentation/Swift/Conceptual/Swift_Programming_Language/Statements.html#//apple_ref/swift/grammar/switch-statement ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev
Re: [swift-dev] Starter project: SR-2: Build configuration directives can not wrap switch cases
On Thu, Dec 17, 2015 at 12:08 PM, Chris Lattner wrote: > On Dec 17, 2015, at 9:06 AM, Dmitri Gribenko via swift-dev < > swift-dev@swift.org> wrote: > >> Quick question about this one. > >> > >> As mentioned in SR-2, the current grammar for switch > >> statements [1] does not allow for compiler control > >> statements. So, fixing this involves a grammar > >> change. > >> > >> I suspect that grammar changes will require a proposal > >> on the swift-evo list? > > > > I think this can be treated as a bug fix. > > Agreed, > Thanks. What is the process for updating the grammar in the documentation after the bug fix has been made? -- Meador ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev