1
0
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:
Alexander Medvednikov
2020-05-04 21:56:41 +02:00
parent 9aa1a65489
commit 32a7bd3a48
7 changed files with 22 additions and 10 deletions

View File

@@ -393,6 +393,11 @@ fn vpclose(f voidptr) int {
}
}
struct Foo2 {
x int
}
pub struct Result {
pub:
exit_code int