mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: handle builtin enum init correctly
This commit is contained in:
@@ -546,6 +546,10 @@ pub fn temp_dir() string {
|
||||
}
|
||||
}
|
||||
}
|
||||
$if macos {
|
||||
// avoid /var/folders/6j/cmsk8gd90pd.... on macs
|
||||
return '/tmp'
|
||||
}
|
||||
$if android {
|
||||
// TODO test+use '/data/local/tmp' on Android before using cache_dir()
|
||||
if path == '' {
|
||||
|
Reference in New Issue
Block a user