mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: switch to the new fn arg syntax everywhere; add lots of vfmt -verify tests
This commit is contained in:
@ -149,7 +149,7 @@ fn (s &Scope) contains(pos int) bool {
|
||||
return pos >= s.start_pos && pos <= s.end_pos
|
||||
}
|
||||
|
||||
pub fn (sc &Scope) show(depth, max_depth int) string {
|
||||
pub fn (sc &Scope) show(depth int, max_depth int) string {
|
||||
mut out := ''
|
||||
mut indent := ''
|
||||
for _ in 0 .. depth * 4 {
|
||||
|
Reference in New Issue
Block a user