Skip to content

Commit

Permalink
fix(#3057): tests + qulice
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Apr 10, 2024
1 parent 413eac0 commit 00f1cf1
Show file tree
Hide file tree
Showing 13 changed files with 101 additions and 448 deletions.
3 changes: 0 additions & 3 deletions eo-runtime/src/main/eo/org/eolang/cage.eo
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,3 @@

# Just remove object from the cage.
[] > free /true

# Remove object from the cage and return it.
[] > freed /?
4 changes: 0 additions & 4 deletions eo-runtime/src/main/eo/org/eolang/memory.eo
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
# m # dataization leads to reading from memory
# m.@ # taking @ attribute also leads to reading from memory
# m.free # clear memory
# m.freed # clear memory and return the data
# ```
# Clearing the memory is optional and is up to programmer.
[data] > memory
Expand Down Expand Up @@ -68,6 +67,3 @@
# Free memory.
[] > free
^.pointer.free > @

# Free memory and return the data.
[] > freed /bytes
1 change: 0 additions & 1 deletion eo-runtime/src/main/java/EOorg/EOeolang/Cages.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ final class Cages {
*/
private final ConcurrentHashMap<Integer, Phi> objects = new ConcurrentHashMap<>(0);


/**
* Ctor.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
/**
* Cage.encaged.encage object.
* @since 0.36.0
* @checkstyle TypeNameCheck (5 lines)
*/
@Versionized
@XmirObject(oname = "cage.encaged.encage")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
/**
* Cage.encaged.free object.
* @since 0.36.0
* @checkstyle TypeNameCheck (5 lines)
*/
@Versionized
@XmirObject(oname = "cage.encaged.free")
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
/**
* Cage.encaged.φ object.
* @since 0.36.0
* @checkstyle TypeNameCheck (5 lines)
*/
@Versionized
@XmirObject(oname = "cage.encaged.@")
Expand All @@ -56,9 +57,8 @@ public Phi lambda() throws Exception {
final int locator = Math.toIntExact(
new Param(this.take(Attr.RHO), "locator").strong(Long.class)
);
final Phi obj = Cages.INSTANCE.get(locator);
return new PhTracedLocator(
obj,
Cages.INSTANCE.get(locator),
locator
);
}
Expand Down
175 changes: 0 additions & 175 deletions eo-runtime/src/main/java/EOorg/EOeolang/EOcage$EOnew.java

This file was deleted.

This file was deleted.

Loading

0 comments on commit 00f1cf1

Please sign in to comment.