You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation says "Constant names must be capitalized."
This code with mixed/lower case constant names runs in playground.
version 0.0.10 ( though v playground does not show lang version )
`
const (
A = 1
B = 2
S = 'upper S'
SSsSS = 'upper with lower'
S_many = 'upper S_many'
s = 'lower s'
s1 = 'lower s1'
)
Documentation says "Constant names must be capitalized."
This code with mixed/lower case constant names runs in playground.
version 0.0.10 ( though v playground does not show lang version )
`
const (
A = 1
B = 2
S = 'upper S'
SSsSS = 'upper with lower'
S_many = 'upper S_many'
s = 'lower s'
s1 = 'lower s1'
)
fn main() {
println('A = $A')
println('B = $B')
println('S = $S')
println('SSsSS = $SSsSS')
println('S_many = $S_many')
println('s = $s')
println('s1 = $s1')
}
`
The text was updated successfully, but these errors were encountered: