1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: remove c.pref.is_test exception for calling private methods in _other_ modules (#16872)

This commit is contained in:
Swastik Baranwal
2023-01-05 19:11:18 +05:30
committed by GitHub
parent 3598e7d08e
commit da68b2d369
7 changed files with 9 additions and 8 deletions

View File

@@ -113,7 +113,8 @@ fn new_parser(srce string, convert_type bool) Parser {
}
}
fn (mut p Parser) decode() !Any {
// decode decodes provided JSON
pub fn (mut p Parser) decode() !Any {
p.next()
p.next_with_err()!
fi := p.decode_value()!