mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-15 00:18:06 -05:00
Fix void's val_to_string
This commit is contained in:
@@ -73,7 +73,7 @@ impl ValTrait for Val {
|
||||
use Val::*;
|
||||
|
||||
return match self {
|
||||
Void => "undefined".to_string(),
|
||||
Void => "".to_string(),
|
||||
Undefined => "undefined".to_string(),
|
||||
Null => "null".to_string(),
|
||||
Bool(b) => b.to_string(),
|
||||
|
||||
Reference in New Issue
Block a user