Originally Posted by Xrystal
This prompted this error: "Interface/AddOns/nUI_Dashboard/EditModeSystem.lua:2: unexpected symbol near '['" on that first line
|
I'm downloading the PTR right now, so it'll be a while before I can dig around it. Even so, this error is pointing out a syntax issue, you're trying to index a table that you didn't give a reference to. That's what it's complaining about when it's saying there's an unexpected "[".
Also, if you're adding things accessible by the global environment, you need to keep name collisions in mind. Generic names like
Enum.EditModeSystem.Dashboard and
EditModeDashboardSystemMixin are more likely to cause conflict than something that more uniquely identifies that they are from your addon.
You also may want to avoid inserting values into Blizzard enums if you're thinking of heading in that direction.