Minsoo Cheong
06/14/2023, 9:22 AMfun String.isReservedKeyword()
If there's a channel that better fits this question, please let me know 🙇Minsoo Cheong
06/14/2023, 9:23 AMKlitos Kyriacou
06/14/2023, 9:49 AMAdam S
06/14/2023, 9:53 AMMinsoo Cheong
06/14/2023, 9:58 AMephemient
06/14/2023, 9:59 AMquote
identifiersMinsoo Cheong
06/14/2023, 9:59 AMephemient
06/14/2023, 9:59 AMMinsoo Cheong
06/14/2023, 10:00 AMyou could just alwaysThat was my first reaction to this issue, but I would also have to suppress the warnings coming from unneeded escapes so I was thinking about itidentifiersquote
Minsoo Cheong
06/14/2023, 10:01 AMkotlinpoet maintains its own list of keywordsThat's really good news blob smile happy https://github.com/square/kotlinpoet/blob/c0c1500b413134b334eca355c280b69e43b693b0/kotlinpoet/src/main/java/com/squareup/kotlinpoet/Util.kt#L171 👏
ephemient
06/14/2023, 10:02 AMMinsoo Cheong
06/14/2023, 10:05 AMephemient
06/14/2023, 10:05 AMMinsoo Cheong
06/15/2023, 3:49 AM