1
0
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:
Alexander Medvednikov
2019-12-13 20:28:28 +03:00
parent dc83e30a44
commit c72bf0e1b1
2 changed files with 13 additions and 3 deletions

View File

@@ -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
}