Skip to content

Commit 4b99330

Browse files
Porgesjoelanford
andauthored
else if → if
Co-authored-by: Joe Lanford <[email protected]>
1 parent 7fc2acb commit 4b99330

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/markers/parse.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,8 @@ func guessType(scanner *sc.Scanner, raw string, allowSlice bool) *Argument {
357357

358358
if nextTok == sc.Int {
359359
return &Argument{Type: IntType}
360-
} else if nextTok == sc.Float {
360+
}
361+
if nextTok == sc.Float {
361362
return &Argument{Type: NumberType}
362363
}
363364
}

0 commit comments

Comments
 (0)