-
Notifications
You must be signed in to change notification settings - Fork 125
Makes DMCompiler non-static. Yes, really.
#2075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
InspectCode found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
# Conflicts: # Content.Tests/DMTests.cs # DMCompiler/Compiler/DM/DMParser.cs # DMCompiler/Compiler/DMM/DMMParser.cs # DMCompiler/Compiler/DMPreprocessor/DMPreprocessor.cs # DMCompiler/Compiler/DMPreprocessor/DMPreprocessorLexer.cs # DMCompiler/DM/Builders/DMExpressionBuilder.cs # DMCompiler/DM/Builders/DMObjectBuilder.cs # DMCompiler/DM/Builders/DMProcBuilder.cs # DMCompiler/DM/DMExpression.cs # DMCompiler/DM/DMObject.cs # DMCompiler/DM/DMObjectTree.cs # DMCompiler/DM/DMProc.cs # DMCompiler/DM/DMValueType.cs # DMCompiler/DM/Expressions/Builtins.cs # DMCompiler/DM/Expressions/Constant.cs # DMCompiler/DM/Expressions/Dereference.cs # DMCompiler/DM/Expressions/Procs.cs # DMCompiler/DMCompiler.cs # DMCompiler/DreamPath.cs
Copy-pasting `DMCompiler compiler, DMObject dmObject, DMProc proc` everywhere was ridiculous
Unnecessary and wasteful on memory
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Fixes #1829
DMCompileris no longer static. Yes, really.Is this code perfect? Haha, no.
Does this PR make any other changes to take advantage of
DMCompilerno longer being static? Also no!This is just the grunt work to make it compile and continue functioning. Please for the love of my sanity let's ship the minimum viable product and work on improving it later.
It does work though!
