Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/10/10 14:05:38 (13 years ago)
Author:
epitzer
Message:

Prevent cloning empty compiler errors (#922)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperator.cs

    r4762 r4764  
    176176      namespaces = new HashSet<string>(original.namespaces);
    177177      CompilationUnitCode = original.CompilationUnitCode;
    178       CompileErrors = new CompilerErrorCollection(original.CompileErrors);
     178      if (original.CompileErrors != null)
     179        CompileErrors = new CompilerErrorCollection(original.CompileErrors);
    179180      RegisterEvents();
    180181    }
Note: See TracChangeset for help on using the changeset viewer.