Skip to content

Preserve metadata on fn and action macros#325

Merged
benjchristensen merged 1 commit intoReactiveX:masterfrom
daveray:clj-fn-metadata
Aug 31, 2013
Merged

Preserve metadata on fn and action macros#325
benjchristensen merged 1 commit intoReactiveX:masterfrom
daveray:clj-fn-metadata

Conversation

@daveray
Copy link
Contributor

@daveray daveray commented Aug 31, 2013

Because they're macros, rx/fn and rx/action would lose metadata attached
to them, in particular type hints which are slightly important to
disambiguate overloaded Observable methods. Fixed.

Because they're macros, rx/fn and rx/action would lose metadata attached
to them, in particular type hints which are slightly important to
disambiguate overloaded Observable methods. Fixed.
@cloudbees-pull-request-builder

RxJava-pull-requests #211 FAILURE
Looks like there's a problem with this pull request

@benjchristensen
Copy link
Member

What normal use cases with Observable need type hints?

benjchristensen added a commit that referenced this pull request Aug 31, 2013
Preserve metadata on fn and action macros
@benjchristensen benjchristensen merged commit 4f41cd6 into ReactiveX:master Aug 31, 2013
@daveray
Copy link
Contributor Author

daveray commented Aug 31, 2013

@benjchristensen only to disambiguate an overloaded method. So, for 0.11.0, almost never, as far as I can tell.

This is the result of further backporting the interop stuff into a 0.10 system where the Object version of methods was always chosen, leading to strange failures.

@daveray daveray deleted the clj-fn-metadata branch August 31, 2013 06:12
@benjchristensen
Copy link
Member

I hope we can avoid ambiguous method signatures, as it would cause problems for other languages as well such as Groovy.

I just released 0.11.1 to pick up this change.

@daveray
Copy link
Contributor Author

daveray commented Aug 31, 2013

Me too.

Aren't you worried about running out of version numbers if you keep releasing so often? :)

rickbw pushed a commit to rickbw/RxJava that referenced this pull request Jan 9, 2014
Preserve metadata on fn and action macros
jihoonson pushed a commit to jihoonson/RxJava that referenced this pull request Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants