Hi.
I've fixed a bug in parser combinators
https://github.com/jckarter/clay/pull/326 , but now I think that bug is not in parser combinators library, but in compiler. What should be a type of
```
"string"
```
?
Currently type of this expression is Static["string"]. However, type of
```
true
```
is not Static[true], it is Bool. Code:
```
import printer.*;
import printer.formatter.*;
main() {
..for (v in true, #true, 1, #1, "st", #"st") {
println(repr(v), " ", Type(v));
}
}
```
outputs:
```
true Bool
true Static[true]
1i Int32
1 Static[1]
"st" Static["st"]
"st" Static["st"]
```
There's asymmetry between (true, #true), (1, #1) and ("st", #st).
In clay 0.1 type of "st" is StringConstant. Seems like type of "st" should be StringConstant, but I haven't found such type in master.
--
Stepan Koltsov