Skip to content
This repository has been archived by the owner. It is now read-only.

Format and add a test #11

Merged
merged 1 commit into from
Feb 19, 2020
Merged

Format and add a test #11

merged 1 commit into from
Feb 19, 2020

Conversation

eed3si9n
Copy link
Member

Currently this repo lacks validation beyond compilation. This improves the situation slightly by adding a "dummy-bridge" implementation, which is an actual bridge proposed in sbt/zinc#712.

The test currently tests that the bridge is capable of building an in-memory VirtualFile.

This implements Zinc support for passing source code as a VirtualFile datatype.
This allows build tools to pass source files as in-memory datatype.

Another motivation for doing so is to remove machine dependence from the internal state of incremental compilation (Analysis). By making Analysis free of absolute paths, we should be able to cache the file and resume compilation from another machine.
@eed3si9n eed3si9n merged commit 897bfb5 into scala:develop Feb 19, 2020
@eed3si9n eed3si9n deleted the wip/machine_vf branch February 19, 2020 22:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants