Anaminus / roblox-bug-tracker

Formerly an unofficial bug tracker for Roblox.
31 stars 24 forks source link

ScriptAnalyzer makes incorrect warnings when you have functions that are named deprecated globals #468

Closed samfundev closed 10 years ago

samfundev commented 10 years ago

ScriptAnalyzer will make a warning about using deprecated a global when you try calling a function that you made and was named a deprecated global.

To reproduce:

  1. Open a place
  2. Make sure the ScriptAnalyzer is open
  3. Run the code below
  4. Open the new script in workspace
  5. capture
Instance.new("Script",workspace).Source = "function load()\nend\nload()"
Anaminus commented 10 years ago

This now yields a W010 warning, so this is no longer an issue.