mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser/checker: do not allow using private types from other modules
This commit is contained in:
@@ -393,6 +393,11 @@ fn vpclose(f voidptr) int {
|
||||
}
|
||||
}
|
||||
|
||||
struct Foo2 {
|
||||
x int
|
||||
|
||||
}
|
||||
|
||||
pub struct Result {
|
||||
pub:
|
||||
exit_code int
|
||||
|
||||
Reference in New Issue
Block a user