Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008945opensim[REGION] Scripting Enginepublic2021-11-28 03:082021-12-03 11:36
Assigned To 
PlatformOperating SystemUbuntuOperating System Version20.04.3
Product Version0.9.1.0 
Target VersionFixed in Version 
Summary0008945: Function called without brackets silently fails withour error (XEngine)
DescriptionIf you call a function without brackets it should report a syntax error but in fact it silently fails to do anything. This led to some considerable time spent error checking before I noticed the real problem. LSL Editor does report a syntax error correctly, which is how I noticed. Yes, I should have seen it myself!
Steps To Reproducefunction()
    llSay(0,"function called");

    touch_start(integer num)
        function; // this will never be called but no error is reported
Additional InformationI have not yet tried this in YEngine.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineBulletSim
Script EngineXEngine
EnvironmentMono / Linux64
Mono Version6.x
Attached Files

- Relationships

-  Notes
Aaack (reporter)
2021-11-28 03:12

In Y-Engine it does fail to compile with the error:

(9,8) Error: undefined constant/function/variable function
tampa (reporter)
2021-12-03 11:36

Confirming this for now, but changes to XEngine are rare and this sounds like a bit of a pain to fix so don't get your hopes up.

- Issue History
Date Modified Username Field Change
2021-11-28 03:08 Starflower New Issue
2021-11-28 03:12 Aaack Note Added: 0038270
2021-12-03 11:36 tampa Note Added: 0038274
2021-12-03 11:36 tampa Status new => confirmed

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker