Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
kotlin-layout-hack
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
val <T> T.` `: T get() = this
@quad

This comment has been minimized.

Copy link

@quad quad commented Dec 6, 2016

swoooon 😍

@LouisCAD

This comment has been minimized.

Copy link

@LouisCAD LouisCAD commented Dec 20, 2017

Should get up to the right margin IMO

@LouisCAD

This comment has been minimized.

Copy link

@LouisCAD LouisCAD commented Dec 20, 2017

PR:

val <T> T.` `: T get() = this
val <T> T.`  `: T get() = this
val <T> T.`   `: T get() = this
val <T> T.`    `: T get() = this
val <T> T.`     `: T get() = this
val <T> T.`      `: T get() = this
val <T> T.`       `: T get() = this
val <T> T.`        `: T get() = this
val <T> T.`         `: T get() = this
val <T> T.`          `: T get() = this
val <T> T.`           `: T get() = this
val <T> T.`            `: T get() = this
val <T> T.`             `: T get() = this
val <T> T.`              `: T get() = this
val <T> T.`               `: T get() = this
val <T> T.`                `: T get() = this
val <T> T.`                 `: T get() = this
val <T> T.`                  `: T get() = this
val <T> T.`                   `: T get() = this
val <T> T.`                    `: T get() = this
val <T> T.`                     `: T get() = this
val <T> T.`                      `: T get() = this
val <T> T.`                       `: T get() = this
val <T> T.`                        `: T get() = this
val <T> T.`                         `: T get() = this
val <T> T.`                          `: T get() = this
val <T> T.`                           `: T get() = this
val <T> T.`                            `: T get() = this
val <T> T.`                             `: T get() = this
val <T> T.`                              `: T get() = this
val <T> T.`                               `: T get() = this
val <T> T.`                                `: T get() = this
val <T> T.`                                 `: T get() = this
val <T> T.`                                  `: T get() = this
val <T> T.`                                   `: T get() = this
val <T> T.`                                    `: T get() = this
val <T> T.`                                     `: T get() = this
val <T> T.`                                      `: T get() = this
val <T> T.`                                       `: T get() = this
val <T> T.`                                        `: T get() = this
val <T> T.`                                         `: T get() = this
val <T> T.`                                          `: T get() = this
val <T> T.`                                           `: T get() = this
val <T> T.`                                            `: T get() = this
val <T> T.`                                             `: T get() = this
val <T> T.`                                              `: T get() = this
val <T> T.`                                               `: T get() = this
val <T> T.`                                                `: T get() = this
val <T> T.`                                                 `: T get() = this
val <T> T.`                                                  `: T get() = this
val <T> T.`                                                   `: T get() = this
val <T> T.`                                                    `: T get() = this
val <T> T.`                                                     `: T get() = this
val <T> T.`                                                      `: T get() = this
val <T> T.`                                                       `: T get() = this
val <T> T.`                                                        `: T get() = this
val <T> T.`                                                         `: T get() = this
val <T> T.`                                                          `: T get() = this
val <T> T.`                                                           `: T get() = this
val <T> T.`                                                            `: T get() = this
val <T> T.`                                                             `: T get() = this
val <T> T.`                                                              `: T get() = this
val <T> T.`                                                               `: T get() = this
val <T> T.`                                                                `: T get() = this
val <T> T.`                                                                 `: T get() = this
val <T> T.`                                                                  `: T get() = this
val <T> T.`                                                                   `: T get() = this
val <T> T.`                                                                    `: T get() = this
val <T> T.`                                                                     `: T get() = this
val <T> T.`                                                                      `: T get() = this
val <T> T.`                                                                       `: T get() = this
val <T> T.`                                                                        `: T get() = this
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
@dmcg

This comment has been minimized.

Copy link

@dmcg dmcg commented Jan 7, 2019

Also

val <T> T.`​`: T get() = this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment