mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
global access modifier
This commit is contained in:
@@ -163,7 +163,7 @@ pub:
|
||||
d int // public immmutable (readonly)
|
||||
pub mut:
|
||||
e int // public, but mutable only in parent module
|
||||
//__global:
|
||||
__global:
|
||||
f int // public and mutable both inside and outside parent module
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user