[swift-dev] Looking to get involved again

2017-06-05 Thread Austin Zheng via swift-dev
Hi, I'd like to get back into contributing to the Swift standard library and/or compiler, and be a better contributor than I was last time. Is the best place to look still starter bugs on the Jira? It would be nice to work on something of larger scope, if it's at all feasible to do so while puttin

Re: [swift-dev] Random() in the standard library

2016-07-02 Thread Austin Zheng via swift-dev
I am also just a random guy, and I agree with much of what Brent says, but my personal opinion is that the standard library should be allowed to grow in the future to encompass areas whose generality and usefulness are comparable to those of current standard library constructs. I would consider

Re: [swift-dev] Error running build-script -R?

2016-06-15 Thread Austin Zheng via swift-dev
Perfect, thanks. I must have missed it. Austin > On Jun 15, 2016, at 8:35 AM, Jacob Bandes-Storch wrote: > > I believe there was a note sent out earlier this week saying Xcode 8 is now > required to build from source. > On Wed, Jun 15, 2016 at 8:10 AM Austin Zhen

[swift-dev] Error running build-script -R?

2016-06-15 Thread Austin Zheng via swift-dev
Hi, I've running into an issue where I can't build Swift successfully. Right before it errors out I get the following message: ``` :0: error: Swift does not support the SDK 'MacOSX10.11.sdk' [564/990] Generating UnicodeExtendedGraphemeClusters.cpp from UnicodeExtendedGraphemeClusters.cpp.gyb wi

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 15.10 (master) #5708

2016-06-14 Thread Austin Zheng via swift-dev
I don't think the failure was caused by my change? I can spin up a VM and try running the test suite there. ``` TEST 'Swift :: AutolinkExtract/import_archive.swift' FAILED Script: -- (...) Exit Code: 254 Command Output (stderr): -- <>clang-3.9: error:

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #5220

2016-06-08 Thread Austin Zheng via swift-dev
The test that's failing is a test that should be unrelated to the change I made (I added a few tests and removed two comments from `String.swift`). I can spin up a Linux VM to investigate further if you'd like. Austin On Wed, Jun 8, 2016 at 9:33 AM, wrote: > [FAILURE] oss-swift-incremental-RA-l

Re: [swift-dev] Please remove your Swift build directory

2016-06-02 Thread Austin Zheng via swift-dev
It works now. Thanks for fixing it so quickly! Austin On Thu, Jun 2, 2016 at 2:00 PM, Dmitri Gribenko wrote: > On Wed, Jun 1, 2016 at 12:36 PM, Austin Zheng > wrote: > > Hello, > > > > I'm still seeing errors when I try invoking the build script with `-x`. > I've > > updated all the repositori

Re: [swift-dev] Please remove your Swift build directory

2016-06-01 Thread Austin Zheng via swift-dev
Hello, I'm still seeing errors when I try invoking the build script with `-x`. I've updated all the repositories (everything that lives alongside the 'swift' repo, as well as that repo itself) and deleted my build folder completely. I see the following errors multiple times before the build termi

Re: [swift-dev] build-script -x freezing?

2016-05-20 Thread Austin Zheng via swift-dev
I ran build-script -x a few days ago. It didn't freeze, but it did take several hours to complete (on a late-model 13" MBP). Austin On Fri, May 20, 2016 at 2:28 PM, Will Stanton via swift-dev < swift-dev@swift.org> wrote: > Hi Geoffrey, > > Wanted to share I encountered this issue on 5/11. > (Ni

[swift-dev] Importing .swift file into REPL?

2016-04-20 Thread Austin Zheng via swift-dev
Hello developers, Is there a way to import a .swift source file into the interactive REPL? There are times I'd like to debug code by importing it into the REPL and then typing in various interactive commands. However, copy-pasting does not always work properly, especially if the code is long an

Re: [swift-dev] Potential Bug in SE-0029 (Remove implicit tuple splat behavior from function applications)

2016-04-18 Thread Austin Zheng via swift-dev
Nothing much happens, except other people who see the ticket will know someone else is working on it and not start on it themselves. You can always release the ticket if you decide you can't or don't want to work on it anymore. Austin > On Apr 18, 2016, at 3:53 PM, David Sweeris via swift-dev

Re: [swift-dev] SR-122 / CollectionsMoveIndices.swift Prototype

2016-04-11 Thread Austin Zheng via swift-dev
Hi Dmitri, Happy to help with either/both of tests and new collection indices. Just point me in your preferred direction! Thanks, Austin Sent from my iPhone > On Apr 11, 2016, at 11:43 AM, Dave Abrahams wrote: > > >> on Mon Apr 11 2016, Dmitri Gribenko wrote: >> >>> On Mon, Apr 11, 2016 a

Re: [swift-dev] SR-122 / CollectionsMoveIndices.swift Prototype

2016-04-11 Thread Austin Zheng via swift-dev
Excellent! I'll begin working on this today. Austin > On Apr 11, 2016, at 11:07 AM, Dave Abrahams wrote: > > > on Sun Apr 10 2016, Austin Zheng > wrote: > >> I'm really sorry for dropping the ball and disappearing off the list. I'd >> like >> to help out if

Re: [swift-dev] SR-122 / CollectionsMoveIndices.swift Prototype

2016-04-10 Thread Austin Zheng via swift-dev
I'm really sorry for dropping the ball and disappearing off the list. I'd like to help out if I can. I'll check out the current branch tomorrow and see what the status of the work is, but let me know if everything is done already/there's something in particular that should be worked on. Austin On

Re: [swift-dev] Understanding runtime entry points

2016-01-06 Thread Austin Zheng via swift-dev
problem. I'll try a few things and send over a better code sample tonight, if there are still issues. Best, Austin On Wed, Jan 6, 2016 at 11:37 AM, Slava Pestov wrote: > Hi Austin, > > > On Jan 1, 2016, at 10:58 PM, Austin Zheng via swift-dev < > swift-dev@swift.or

Re: [swift-dev] Understanding runtime entry points

2016-01-06 Thread Austin Zheng via swift-dev
that pointer object in instead? Austin On Wed, Jan 6, 2016 at 12:04 PM, Joe Groff wrote: > > > On Jan 1, 2016, at 10:58 PM, Austin Zheng via swift-dev < > swift-dev@swift.org> wrote: > > > > Hello, > > (...) > > Swift structs are (currently) passed

[swift-dev] Understanding runtime entry points

2016-01-01 Thread Austin Zheng via swift-dev
Hello, I'm trying to better understand how calls are made between the Swift standard library code and the runtime entry points. I've read through most of the documentation in the repo but still have some questions. More specifically, here's an example: the '_EnumMirror' struct below represents

[swift-dev] Swift bugs related to SR-88

2015-12-31 Thread Austin Zheng via swift-dev
Hi all, Per Dmitri Gribenko's request, I'd like to bring to the list's attention two bugs that are related to/blocking SR-88 (mirror API migration): - SR-392 (https://bugs.swift.org/browse/SR-392 ): casting an object to the type ErrorType (or assigning a v

Re: [swift-dev] Distinguishing classes from value types/ObjC bridged types?

2015-12-29 Thread Austin Zheng via swift-dev
Perfect! Thanks so much, I'll try that out. Austin > On Dec 29, 2015, at 5:31 PM, Joe Groff wrote: > > >> On Dec 29, 2015, at 4:50 PM, Austin Zheng via swift-dev >> wrote: >> >> Hello, >> >> First, some background. I'm currently

[swift-dev] Distinguishing classes from value types/ObjC bridged types?

2015-12-29 Thread Austin Zheng via swift-dev
Hello, First, some background. I'm currently working on refactoring the way mirrors are handled within the Swift standard library (conversion from use of _Reflectable and _MirrorType to CustomReflectable). Note that the _MirrorType protocol exposes an 'objectIdentifier' property which is only rel

[swift-dev] Running only one unit test through build-script?

2015-12-13 Thread Austin Zheng via swift-dev
Apologies if I'm overlooking something basic. I looked through the help for both build-script and build-script-impl, and while I found flags to disable parts of the prebuilt test suites, it doesn't look like there's a way to specify running a specific unit test. Is this indeed not currently poss

[swift-dev] Questions about _Reflectable and CustomReflectable

2015-12-08 Thread Austin Zheng via swift-dev
Hello devs, I have two questions about the _Reflectable and CustomReflectable protocols in the stdlib. (These are both in context of Jira ticket SR-88.) First, I notice that _Reflectable encompasses both CustomReflectable and CustomPlaygroundQuickLookable's functionality. It looks like there ar

Re: [swift-dev] Starter project: API to upgrade AnySequence to Any*Collection

2015-12-07 Thread Austin Zheng via swift-dev
I'd be interested in taking it but I have another ticket already, so if someone else wants it they should take it. Austin On Mon, Dec 7, 2015 at 2:35 PM, Dmitri Gribenko wrote: > On Mon, Dec 7, 2015 at 2:27 PM, Jacob Bandes-Storch > wrote: > > What do you mean by "without copying the underlyin

Re: [swift-dev] Starter project: API to upgrade AnySequence to Any*Collection

2015-12-07 Thread Austin Zheng via swift-dev
Would this require a review/proposal, since it involves an API change? On Mon, Dec 7, 2015 at 2:08 PM, Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote: > Hi, > > If someone looks for a starter project in the standard library with > intermediate complexity (prior experience with Swift g