ci: fix import_symbol_private_err.vv and its .out file (time.since is no longer private)
parent
49ebba535e
commit
45c1c1ab41
|
@ -1,25 +1,25 @@
|
||||||
vlib/v/checker/tests/import_symbol_private_err.vv:11:6: notice: interface field `io.ReaderWriterImpl.r` must be initialized
|
vlib/v/checker/tests/import_symbol_private_err.vv:13:6: notice: interface field `io.ReaderWriterImpl.r` must be initialized
|
||||||
9 | since(now())
|
11 | 'h': 2
|
||||||
10 | _ = {'h': 2}.exists('h')
|
12 | }.exists('h')
|
||||||
11 | _ = ReaderWriterImpl{}
|
13 | _ = ReaderWriterImpl{}
|
||||||
| ~~~~~~~~~~~~~~~~~~
|
| ~~~~~~~~~~~~~~~~~~
|
||||||
12 | }
|
14 | }
|
||||||
vlib/v/checker/tests/import_symbol_private_err.vv:11:6: notice: interface field `io.ReaderWriterImpl.w` must be initialized
|
vlib/v/checker/tests/import_symbol_private_err.vv:13:6: notice: interface field `io.ReaderWriterImpl.w` must be initialized
|
||||||
9 | since(now())
|
11 | 'h': 2
|
||||||
10 | _ = {'h': 2}.exists('h')
|
12 | }.exists('h')
|
||||||
11 | _ = ReaderWriterImpl{}
|
13 | _ = ReaderWriterImpl{}
|
||||||
| ~~~~~~~~~~~~~~~~~~
|
| ~~~~~~~~~~~~~~~~~~
|
||||||
12 | }
|
14 | }
|
||||||
vlib/v/checker/tests/import_symbol_private_err.vv:3:20: error: module `time` function `since()` is private
|
vlib/v/checker/tests/import_symbol_private_err.vv:3:15: error: module `time` function `vpc_now()` is private
|
||||||
1 | import v.scanner
|
1 | import v.scanner
|
||||||
2 | import v.parser
|
2 | import v.parser
|
||||||
3 | import time { now, since }
|
3 | import time { vpc_now }
|
||||||
| ~~~~~
|
| ~~~~~~~
|
||||||
4 | import io { ReaderWriterImpl }
|
4 | import io { ReaderWriterImpl }
|
||||||
5 |
|
5 |
|
||||||
vlib/v/checker/tests/import_symbol_private_err.vv:4:13: error: module `io` type `ReaderWriterImpl` is private
|
vlib/v/checker/tests/import_symbol_private_err.vv:4:13: error: module `io` type `ReaderWriterImpl` is private
|
||||||
2 | import v.parser
|
2 | import v.parser
|
||||||
3 | import time { now, since }
|
3 | import time { vpc_now }
|
||||||
4 | import io { ReaderWriterImpl }
|
4 | import io { ReaderWriterImpl }
|
||||||
| ~~~~~~~~~~~~~~~~
|
| ~~~~~~~~~~~~~~~~
|
||||||
5 |
|
5 |
|
||||||
|
@ -30,31 +30,31 @@ vlib/v/checker/tests/import_symbol_private_err.vv:7:18: error: constant `v.scann
|
||||||
7 | println(scanner.single_quote)
|
7 | println(scanner.single_quote)
|
||||||
| ~~~~~~~~~~~~
|
| ~~~~~~~~~~~~
|
||||||
8 | println(parser.State.html)
|
8 | println(parser.State.html)
|
||||||
9 | since(now())
|
9 | vpc_now()
|
||||||
vlib/v/checker/tests/import_symbol_private_err.vv:8:17: error: enum `v.parser.State` is private
|
vlib/v/checker/tests/import_symbol_private_err.vv:8:17: error: enum `v.parser.State` is private
|
||||||
6 | fn main() {
|
6 | fn main() {
|
||||||
7 | println(scanner.single_quote)
|
7 | println(scanner.single_quote)
|
||||||
8 | println(parser.State.html)
|
8 | println(parser.State.html)
|
||||||
| ~~~~~~~~~~
|
| ~~~~~~~~~~
|
||||||
9 | since(now())
|
9 | vpc_now()
|
||||||
10 | _ = {'h': 2}.exists('h')
|
10 | _ = {
|
||||||
vlib/v/checker/tests/import_symbol_private_err.vv:9:2: error: function `time.since` is private
|
vlib/v/checker/tests/import_symbol_private_err.vv:9:2: error: function `time.vpc_now` is private
|
||||||
7 | println(scanner.single_quote)
|
7 | println(scanner.single_quote)
|
||||||
8 | println(parser.State.html)
|
8 | println(parser.State.html)
|
||||||
9 | since(now())
|
9 | vpc_now()
|
||||||
| ~~~~~~~~~~~~
|
| ~~~~~~~~~
|
||||||
10 | _ = {'h': 2}.exists('h')
|
10 | _ = {
|
||||||
11 | _ = ReaderWriterImpl{}
|
11 | 'h': 2
|
||||||
vlib/v/checker/tests/import_symbol_private_err.vv:10:15: error: method `map[string]int.exists` is private
|
vlib/v/checker/tests/import_symbol_private_err.vv:12:4: error: method `map[string]int.exists` is private
|
||||||
8 | println(parser.State.html)
|
10 | _ = {
|
||||||
9 | since(now())
|
11 | 'h': 2
|
||||||
10 | _ = {'h': 2}.exists('h')
|
12 | }.exists('h')
|
||||||
| ~~~~~~~~~~~
|
| ~~~~~~~~~~~
|
||||||
11 | _ = ReaderWriterImpl{}
|
13 | _ = ReaderWriterImpl{}
|
||||||
12 | }
|
14 | }
|
||||||
vlib/v/checker/tests/import_symbol_private_err.vv:11:6: error: type `io.ReaderWriterImpl` is private
|
vlib/v/checker/tests/import_symbol_private_err.vv:13:6: error: type `io.ReaderWriterImpl` is private
|
||||||
9 | since(now())
|
11 | 'h': 2
|
||||||
10 | _ = {'h': 2}.exists('h')
|
12 | }.exists('h')
|
||||||
11 | _ = ReaderWriterImpl{}
|
13 | _ = ReaderWriterImpl{}
|
||||||
| ~~~~~~~~~~~~~~~~~~
|
| ~~~~~~~~~~~~~~~~~~
|
||||||
12 | }
|
14 | }
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
import v.scanner
|
import v.scanner
|
||||||
import v.parser
|
import v.parser
|
||||||
import time { now, since }
|
import time { vpc_now }
|
||||||
import io { ReaderWriterImpl }
|
import io { ReaderWriterImpl }
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println(scanner.single_quote)
|
println(scanner.single_quote)
|
||||||
println(parser.State.html)
|
println(parser.State.html)
|
||||||
since(now())
|
vpc_now()
|
||||||
_ = {'h': 2}.exists('h')
|
_ = {
|
||||||
|
'h': 2
|
||||||
|
}.exists('h')
|
||||||
_ = ReaderWriterImpl{}
|
_ = ReaderWriterImpl{}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue