An action that returns a boolean will still compile and try to run if it has a return now statement
Code Example
class Main
action Test returns boolean
return now
end
action Main
Test()
end
end
Here is the error running this example gives:
Error: LinkageError occurred while loading main class quorum.Main
java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file quorum/Main
An action that returns a boolean will still compile and try to run if it has a
return now
statementCode Example
Here is the error running this example gives: