Comparing version 1.0.0-beta.4 to 1.0.0-beta.5
{ | ||
"name": "radspec", | ||
"version": "1.0.0-beta.4", | ||
"version": "1.0.0-beta.5", | ||
"description": "Radspec is a safe alternative to Ethereum's natspec", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -116,2 +116,9 @@ /** | ||
// String concatenation | ||
if ((left.type === 'string' || | ||
right.type === 'string') && | ||
node.operator === 'PLUS') { | ||
return new TypedValue('string', left.value.toString() + right.value.toString()) | ||
} | ||
// TODO Additionally check that the type is signed if subtracting | ||
@@ -118,0 +125,0 @@ if (!types.isInteger(left.type) || |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31356
1045