hsutter / cppfront

A personal experimental C++ Syntax 2 -> Syntax 1 compiler
Other
5.27k stars 225 forks source link

Add `is` and `as` support for `std::expected` #954

Closed bluetarpmedia closed 5 months ago

bluetarpmedia commented 5 months ago
hsutter commented 5 months ago

Thanks! @filipsajdak @bluetarpmedia Does this conflict with #701, which I think is close to ready to review again?

filipsajdak commented 5 months ago

There is a conflict. I can prepare an update to it. But first I will split #701.

bluetarpmedia commented 5 months ago

There is a conflict. I can prepare an update to it. But first I will split #701.

Thanks @filipsajdak -- I didn't mean to intrude on your work!

filipsajdak commented 5 months ago

No intrusion. I like that you bring up the std::expected

bluetarpmedia commented 5 months ago

I wasn't able to successfully rebase this onto the updated code in main, so I've closed this and created #971.

JohelEGP commented 5 months ago

You can always take the local branch that you updated and do git checkout this_branch, git reset --hard that_branch, and git push -f to avoid closing and reopening a PR.