vopwn55 / powerlang-issues

0 stars 0 forks source link

Add unary negate (-variable) #1

Open vopwn55 opened 2 days ago

vopwn55 commented 2 days ago

The - operator should be prefixable not only to numbers, but also to variables. For example, for numbers, -variable will resolve to 0 - variable and for vector3s -vector will resolve to Vector3.new(0,0,0) - vector.