Open MeAmAnUsername opened 4 years ago
Implementation:
$
.$
if that does not result in a name that already exists.$
with _
if that does not result in a name that already exists._keyword
if that name does not already exist. (e.g. class
-> _class
)$keyword
if that name does not already exist. (e.g. class
-> $class
)Note: this implementation does not take into account multiple times the same name. Instead of using $
, append _X
, where X
starts 1, then 2 etc?
val supplier0 = supplier("");
would fail because code gen generates supplier0 twice)