Second Life logo
Second Life
Create
Log in
Roadmap
Feedback
šŸ“ƒ SLua Alpha
30
Log in to your Second Life account to giveĀ feedback

    Boards

  • ✨ Feature Requests

  • 🪰 Viewer Bug Reports

  • Web/Marketplace Features

  • Web/Marketplace Bugs

  • Scripting Features

  • Scripting Bugs

  • Land & Public Works

  • Server Bugs

  • Scripted Agents

  • Character Designer

  • Browser-based Viewer

  • šŸ† SLua Showcase

  • šŸ“ƒ SLua Alpha

  • SLua Announcements

PoweredĀ byĀ Canny

šŸ“ƒ SLua Alpha

General discussion and feedback on Second Life's SLua Alpha
The type checking warnings are not displayed
Using strict type checking doesn't display warnings in the Script Warning/Error window --!strict local function add(a: number, b: number): number return a + b end local result1: number = add(3, 4) -- Should work fine local result2: number = add("3", 4) -- Should trigger a type error in strict mode This code in Luau/Roblox displays this warning: Type Error: (8,29) Type 'string' could not be converted into 'number'
4
Ā·
Bug
Ā·
tracked
PoweredĀ byĀ Canny