Data type conversion

how can I convert String to StringLiteral?
3 Replies
ModularBot
ModularBot2y ago
Congrats @❤🔥, you just advanced to level 1!
TeamPuzel
TeamPuzel2y ago
You can't do that. A StringLiteral is a type that represents a constant string embedded into the produced binary. They must be known at compile time. The name literal refers to the "some string" that you write in the source code
moosems_yeehaw
I wondered this myself, very sad.

Did you find this page helpful?