Skip to content

None

Pre-release
Pre-release
Compare
Choose a tag to compare
@Moderocky Moderocky released this 08 Mar 09:29
· 88 commits to master since this release

This release adds a special none type name for occasional void functions.

Specifying this explicitly is not typically necessary - the bootstrap compiler handles the return process in most cases. It is the first step in allowing for libraries that need to interact with a Java program (e.g. implementing an interface with a void return method.)

function my_func:
    return: none
    trigger:
        print "hello"

Future releases will have a new entry for specifying exact parameters to make sure the signature conforms.

Full Changelog: 1.0.19...1.0.20