Vyxal / Vyxal

A code-golfing language experience that has aspects of traditional programming languages - terse, elegant, readable.

Home Page:https://vyxal.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: New wait instruction doesn’t seem to work.

PlaceReporter99 opened this issue · comments

Describe the bug
¨w doesn’t seem to work in online interpreter.

Example program

3¨w

Try it

Expected Output

(takes 3 seconds to run and doesn’t output anything)

Other things

  • I made the PR ( #1799 ) for this so I’m sorry if I did something wrong.

Now I get an error when running the same code:

Traceback (most recent call last):
  File "/home/Vyxal/mysite/vyxal/main.py", line 330, in execute_vyxal
    exec(code, locals() | globals())
  File "<string>", line 3, in <module>
TypeError: isinstance() arg 2 must be a type or tuple of types

Can you check whether NUMBER_TYPE is a type object?

#1803 should take care of this. Also, the online interpreter doesn't have the element yet because it hasn't been pushed to the production branch yet. I'm closing for now since it probably works fine.