mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: disallow comparison between enum and int (#7886)
This commit is contained in:
@@ -797,7 +797,7 @@ fn (mut app App) next_theme() {
|
||||
|
||||
[inline]
|
||||
fn (mut app App) next_tile_format() {
|
||||
app.tile_format = int(app.tile_format) + 1
|
||||
app.tile_format = TileFormat(int(app.tile_format) + 1)
|
||||
if app.tile_format == .end_ {
|
||||
app.tile_format = .normal
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user