Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types renderer improvements. #11

Closed

Conversation

Frostman
Copy link
Contributor

@Frostman Frostman commented Mar 5, 2012

Here is a simple types (descriptors) renderer improvement, that displays correctly main types:

  • Tuple0 -> Unit
  • FunctionNN<..., R> -> (...) -> R
  • ExtensionFunctionNN<E,...,R> -> E.(...) -> R

It is normally works on nested constructions, so I hope it can be temporary solution for displaying types.

P.S. It will fix KT-916 Rename Tuple0 to Unit (http://youtrack.jetbrains.com/issue/KT-916)

@ghost ghost assigned goodwinnk and geevee Mar 6, 2012
@geevee
Copy link
Contributor

geevee commented Mar 6, 2012

Thank you for your patch! I have added spaces around "->" in function types.

@geevee geevee closed this Mar 6, 2012
@geevee
Copy link
Contributor

geevee commented Mar 6, 2012

I have refactored DescriptorRenderer a little bit, and also added some code to render types like Iterator<#(Int, Boolean)> nicely :)

Alefas pushed a commit that referenced this pull request Jun 27, 2022
drop redundant builder for scripts

^KT-48773
Alefas pushed a commit that referenced this pull request Jun 28, 2022
drop redundant builder for scripts

^KT-48773
Alefas pushed a commit that referenced this pull request Jun 28, 2022
Alefas pushed a commit that referenced this pull request Jun 28, 2022
ilgonmic added a commit that referenced this pull request Aug 8, 2022
ilgonmic added a commit that referenced this pull request Aug 10, 2022
ilgonmic added a commit that referenced this pull request Aug 31, 2022
ilgonmic added a commit that referenced this pull request Sep 12, 2022
ilgonmic added a commit that referenced this pull request Sep 15, 2022
ilgonmic added a commit that referenced this pull request Sep 15, 2022
bnorm added a commit that referenced this pull request Nov 17, 2023
Update sample to be a multiplatform project
ilgonmic added a commit that referenced this pull request Dec 1, 2023
ilgonmic added a commit that referenced this pull request Dec 1, 2023
ilgonmic added a commit that referenced this pull request Dec 4, 2023
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