mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: require explicit return none (#8060)
This commit is contained in:
@@ -113,4 +113,5 @@ pub fn (mut r BufferedReader) read_line() ?string {
|
||||
line << r.buf[r.offset..i]
|
||||
r.offset = i
|
||||
}
|
||||
return none
|
||||
}
|
||||
|
@@ -36,9 +36,11 @@ struct Zzz_CoerceInterfaceTableGeneration {
|
||||
}
|
||||
|
||||
fn (_ Zzz_CoerceInterfaceTableGeneration) write(buf []byte) ?int {
|
||||
return none
|
||||
}
|
||||
|
||||
fn (_ Zzz_CoerceInterfaceTableGeneration) read(mut buf []byte) ?int {
|
||||
return none
|
||||
}
|
||||
|
||||
fn zzz_reader_writer_coerce_compiler() {
|
||||
|
Reference in New Issue
Block a user