Fixed: default kept state between compilations
I know having a property return an instance every call is not a good design. I get it.
This commit is contained in:
parent
8246538bbb
commit
5292b55078
1 changed files with 1 additions and 7 deletions
|
@ -5,14 +5,8 @@ using System.Linq;
|
|||
|
||||
namespace arookas {
|
||||
public abstract class sunImportResolver {
|
||||
static sunImportResolver sDefaultResolver;
|
||||
|
||||
public static sunImportResolver Default {
|
||||
get { return sDefaultResolver; }
|
||||
}
|
||||
|
||||
static sunImportResolver() {
|
||||
sDefaultResolver = new sunDefaultImportResolver();
|
||||
get { return new sunDefaultImportResolver(); }
|
||||
}
|
||||
|
||||
public abstract void EnterFile(sunScriptFile file);
|
||||
|
|
Loading…
Add table
Reference in a new issue