updated add_class_level_variable() for better duplicate check
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -289,11 +289,14 @@ class Kuduro [a b c] {
|
||||
}
|
||||
|
||||
---
|
||||
class Kuduru [a [b] c] {
|
||||
|
||||
class Kuduro [a [b] c] {
|
||||
var d e
|
||||
var b ##TODO: should this be prohibited?
|
||||
var b ##ERROR: syntax error - duplicate instance variable name 'b'
|
||||
}
|
||||
|
||||
---
|
||||
|
||||
class Kuduro [a [b] c] {
|
||||
var d e
|
||||
var(#class) b ##ERROR: syntax error - duplicate class variable name 'b'
|
||||
|
Reference in New Issue
Block a user