1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v.checker: deprecate $if linux_or_macos { in favor of $if linux || macos {

This commit is contained in:
Delyan Angelov
2021-05-08 21:00:21 +03:00
parent cbf30bd13a
commit c16d4911c2
7 changed files with 14 additions and 11 deletions

View File

@ -9,9 +9,9 @@ const (
// Euler's constant
eulers = 2.7182
supported_platforms = ['windows', 'macos', 'linux', 'freebsd', 'openbsd', 'netbsd', 'dragonfly',
'android', 'js', 'solaris', 'haiku', 'linux_or_macos']
'android', 'js', 'solaris', 'haiku']
one_line_supported = ['windows', 'macos', 'linux', 'freebsd', 'openbsd', 'netbsd', 'dragonfly',
'android', 'js', 'solaris', 'haiku', 'linux_or_macos']
'android', 'js', 'solaris', 'haiku']
another_const = ['a', 'b', 'c', 'd', 'e', 'f']
multiline_const = [
'first line',

View File

@ -9,8 +9,8 @@ phi=1.618
//Euler's constant
eulers=2.7182
supported_platforms = ['windows', 'macos', 'linux', 'freebsd', 'openbsd',
'netbsd', 'dragonfly', 'android', 'js', 'solaris', 'haiku', 'linux_or_macos']
one_line_supported = ['windows', 'macos', 'linux', 'freebsd', 'openbsd', 'netbsd', 'dragonfly', 'android', 'js', 'solaris', 'haiku', 'linux_or_macos']
'netbsd', 'dragonfly', 'android', 'js', 'solaris', 'haiku']
one_line_supported = ['windows', 'macos', 'linux', 'freebsd', 'openbsd', 'netbsd', 'dragonfly', 'android', 'js', 'solaris', 'haiku']
another_const = ['a', 'b'
'c', 'd', 'e'
'f'