close #3152; closed via f663ca7
This commit is contained in:
parent
6f935598f4
commit
b101a59734
1 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ dynamic: var
|
||||||
static: const
|
static: const
|
||||||
static: literal
|
static: literal
|
||||||
static: constant folding
|
static: constant folding
|
||||||
|
static: static string
|
||||||
'''
|
'''
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
@ -18,9 +19,12 @@ let l = "let"
|
||||||
let v = "var"
|
let v = "var"
|
||||||
const c = "const"
|
const c = "const"
|
||||||
|
|
||||||
|
type staticString = static[string]
|
||||||
|
|
||||||
foo(l)
|
foo(l)
|
||||||
foo(v)
|
foo(v)
|
||||||
foo(c)
|
foo(c)
|
||||||
foo("literal")
|
foo("literal")
|
||||||
foo("constant" & " " & "folding")
|
foo("constant" & " " & "folding")
|
||||||
|
foo(staticString("static string"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue