Gidsss / UwUIDE

A compiler made to be cute uwu >~<
6 stars 0 forks source link

pow built in method does not accept Int #271

Closed HolyShaq closed 5 months ago

HolyShaq commented 5 months ago

(on main branch)

Number.pow() can only accept literals.

Src Code:

fwunc mainuwu-san() [[
        a-chan = 1~
        b-chan = 2~
        pwint(a.pow(2))~
        pwint(a.pow(b))~
]]

Output: image

am-cid commented 5 months ago

provide enough context to be able to replicate

HolyShaq commented 5 months ago

my bad, i thought it was more general aaa