kotlin icon indicating copy to clipboard operation
kotlin copied to clipboard

Custom string literals

Open DMozhevitin opened this issue 3 years ago • 3 comments

DMozhevitin avatar Apr 26 '22 19:04 DMozhevitin

Please explain something. What have you tried to do in this PR?

mglukhikh avatar May 05 '22 14:05 mglukhikh

Please explain something. What have you tried to do in this PR?

Sorry for confusion that I didn't provide the description and didn't mark this PR as draft just after creation.

This PR contains the implementation of "Custom string literals" feature as a part of bachelor's thesis under @belyaev-mikhail supervision. It is not completely finished now, although it contains the main part of the feature prototype implementation, so I marked it as draft now.

DMozhevitin avatar May 05 '22 20:05 DMozhevitin

@DMozhevitin Noob question out of curiosity: (I'm not a Kotlinc contributor BTW) By custom string litteral, do you refer to typescript union of string litterals? https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types Do you have a document/RFC (KEEP)?

LifeIsStrange avatar Jul 23 '22 01:07 LifeIsStrange