Skip to content

Don't find type parameter T of generic type that's not the current type#4974

Merged
RX14 merged 2 commits intocrystal-lang:masterfrom
asterite:bug/4460-fix-generic-type-bug
Sep 15, 2017
Merged

Don't find type parameter T of generic type that's not the current type#4974
RX14 merged 2 commits intocrystal-lang:masterfrom
asterite:bug/4460-fix-generic-type-bug

Conversation

@asterite
Copy link
Copy Markdown
Member

@asterite asterite commented Sep 14, 2017

See comments in the commit for an explanation of the problem and the solution.

Fixes #4460
Fixes #4604

@asterite asterite self-assigned this Sep 14, 2017
@asterite asterite changed the title Don't find T in generic type that's not the current type. Fixes #4460 Don't find type parameter T of generic type that's not the current type. Fixes #4460 Sep 14, 2017
@asterite asterite changed the title Don't find type parameter T of generic type that's not the current type. Fixes #4460 Don't find type parameter T of generic type that's not the current type Sep 14, 2017
# in the given Hash.
#
# If *find_root_generic_type_parameters* is `true` (the default), type parameters
# relative to `self_type` will be found. If `false`, they won't be find.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: find -> found.

@mverzilli mverzilli added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler labels Sep 15, 2017
@RX14
Copy link
Copy Markdown
Member

RX14 commented Sep 15, 2017

I like these two commits, could you squash the typo fix so we can rebase this onto master as 2 commits?

@RX14 RX14 merged commit 3e68043 into crystal-lang:master Sep 15, 2017
@RX14 RX14 added this to the Next milestone Sep 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants