Custom string literals
Please explain something. What have you tried to do in this PR?
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 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)?