# KEXET-0179: AsAtomNeedsLiteral

- Severity: error
- Stage: Types
- Message: `` `.as(Atom)` needs a string literal; for text known only at run time use `Atom.from(text)`, or `text.to(Atom)` to find an existing atom ``
- Slots: none
- Page: https://oops.kex.run/KEXET-0179/

The compiler reports it as:

```
file.kex:LINE:COLUMN: [KEXET-0179]: Error, `.as(Atom)` needs a string literal; for text known only at run time use `Atom.from(text)`, or `text.to(Atom)` to find an existing atom
```

No explanation of this code has been written yet. The message above is all the compiler says about it.
