mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 03:51:43 +03:00
Add persistance to Operator.Binary (#8826)
This commit is contained in:
parent
dfe867a9cd
commit
24007f1db4
@ -167,6 +167,10 @@ recommended when making a change:
|
||||
That way the same version of Enso will recognize its `.ir` files. Different
|
||||
versions of Enso will realize that the files aren't in suitable form.
|
||||
|
||||
Every `Persistance` class has a unique identifier. In order to keep definitions
|
||||
consistent one should not attempt to use smaller `id`s than previously assigned.
|
||||
One should also not delete any `Persistance` classes.
|
||||
|
||||
## Loading the IR
|
||||
|
||||
Loading the IR is a multi-stage process that involves performing integrity
|
||||
|
@ -7,6 +7,7 @@ import java.util.UUID;
|
||||
import org.enso.compiler.core.ir.expression.Application;
|
||||
import org.enso.compiler.core.ir.expression.Case;
|
||||
import org.enso.compiler.core.ir.expression.Foreign;
|
||||
import org.enso.compiler.core.ir.expression.Operator;
|
||||
import org.enso.compiler.core.ir.expression.warnings.Unused;
|
||||
import org.enso.compiler.core.ir.module.scope.Definition;
|
||||
import org.enso.compiler.core.ir.module.scope.Export;
|
||||
@ -65,6 +66,7 @@ import scala.collection.immutable.Seq;
|
||||
@Persistable(clazz = Unused.FunctionArgument.class, id = 787)
|
||||
@Persistable(clazz = Warning.DuplicatedImport.class, id = 788)
|
||||
@Persistable(clazz = Warning.WrongBuiltinMethod.class, id = 789)
|
||||
@Persistable(clazz = Operator.Binary.class, id = 790)
|
||||
public final class IrPersistance {
|
||||
private IrPersistance() {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user