mirror of
https://github.com/vlang/v.git
synced 2025-09-16 16:02:29 +03:00
breaking,checker: disallow initializing private struct fields outside structs module (#21183)
This commit is contained in:
parent
a8d0cdd31b
commit
1a35a783f1
96 changed files with 225 additions and 111 deletions
|
@ -5,6 +5,7 @@ import strings
|
|||
|
||||
@[params]
|
||||
pub struct StringReaderParams {
|
||||
pub:
|
||||
// the reader interface
|
||||
reader ?io.Reader
|
||||
// initialize the builder with this source string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue