Jellycuts / Jellycuts-Issues

A public issue tracker for the Jellycuts iOS app.
23 stars 0 forks source link

Multiple functions in one file fails. #106

Closed ActuallyTaylor closed 2 years ago

ActuallyTaylor commented 2 years ago

Functions will not compile when there are multiple in one Jelly file. The following is a code snippet that should be functional, but is not.

import Shortcuts
#Color: red, #Icon: shortcuts

func test() {
    alert("i am typing super fast!")
}

func test2() {
    alert(alert: "wow", title: "alert", cancel: false)
}

macro test3() { 
}

test()
test2()
test3()
ActuallyTaylor commented 2 years ago

This has been fixed for 1.4