Skip to content

Use a single File type in the VM

Yorick Peterse requested to merge rework-file-types into master

This has three benefits:

  1. The VM becomes a bit simpler.

  2. We no longer need to cast types, and rely on dynamic typing in std::fs::raw.

  3. This makes it possible to define ReadOnlyFile and the other types like normal objects. This in turn will make it easier to migrate them to the upcoming objects setup where all attributes are defined explicitly in the object body.

Merge request reports