M
Modular16mo ago
❤🔥

Data type conversion

how can I convert String to StringLiteral?
3 Replies
ModularBot
ModularBot16mo ago
Congrats @❤🔥, you just advanced to level 1!
TeamPuzel
TeamPuzel16mo 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 / Three chickens
I wondered this myself, very sad.
Want results from more Discord servers?
Add your server