1
0
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:
Daniel Däschle
2021-01-12 11:43:55 +01:00
committed by GitHub
parent 33976246c8
commit 3289dff7ff
10 changed files with 16 additions and 13 deletions

View File

@@ -113,4 +113,5 @@ pub fn (mut r BufferedReader) read_line() ?string {
line << r.buf[r.offset..i]
r.offset = i
}
return none
}

View File

@@ -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() {