atom-language-rust icon indicating copy to clipboard operation
atom-language-rust copied to clipboard

Mark `do` as a keyword and `do catch` as a control keyword.

Open KalitaAlexey opened this issue 9 years ago • 7 comments

The feature do catch has been published to Rust's repository.

Fixes #100

KalitaAlexey avatar Mar 14 '17 21:03 KalitaAlexey

@cramertj, Will do catch be stabilized?

KalitaAlexey avatar Mar 14 '17 21:03 KalitaAlexey

No-- do catch is (most likely) just a stand in while we work out the stabilization process for catch { ... }.

cramertj avatar Mar 14 '17 22:03 cramertj

@cramertj, How long will it be with us?

KalitaAlexey avatar Mar 15 '17 07:03 KalitaAlexey

It's hard to tell exactly, but changing it is blocked on removing catch as a valid struct name (see here).

I'd imagine it's at least a version or two away, since I think the current consensus is that such a change would need at least a warning cycle.

cramertj avatar Mar 15 '17 07:03 cramertj

Okay. At least six weeks is a long time. I am going to merge it and when it changes, I will open another PR.

@zargony, What do you think?

KalitaAlexey avatar Mar 15 '17 08:03 KalitaAlexey

Darn, I didn't get any notification of your ping again. Github doesn't like me anymore. Sorry for not catching this :-(

I didn't follow do catch development in Rust. How did it turn out?

zargony avatar Jun 27 '17 09:06 zargony

@zargony, Nothing interesting so far.

KalitaAlexey avatar Jun 27 '17 13:06 KalitaAlexey