M
Modular12mo ago
❤🔥

Data type conversion

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