forked from Orchid/orchid
Finally figured out how I want atoms to work
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
use std::rc::Rc;
|
||||
use std::sync::Arc;
|
||||
|
||||
use crate::proj_error::{ErrorSansOrigin, ErrorSansOriginObj};
|
||||
use crate::intern::Token;
|
||||
use crate::name::{PathSlice, VPath};
|
||||
use crate::proj_error::{ErrorSansOrigin, ErrorSansOriginObj};
|
||||
|
||||
/// Represents the result of loading code from a string-tree form such
|
||||
/// as the file system. Cheap to clone.
|
||||
|
||||
@@ -3,11 +3,11 @@ use std::sync::Arc;
|
||||
|
||||
use super::common::CodeNotFound;
|
||||
use super::{FSResult, Loaded, VirtFS};
|
||||
use crate::intern::Token;
|
||||
use crate::proj_error::ErrorSansOrigin;
|
||||
use crate::name::PathSlice;
|
||||
use crate::tree::{ModEntry, ModMember};
|
||||
use crate::combine::Combine;
|
||||
use crate::intern::Token;
|
||||
use crate::name::PathSlice;
|
||||
use crate::proj_error::ErrorSansOrigin;
|
||||
use crate::tree::{ModEntry, ModMember};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct ConflictingTrees;
|
||||
|
||||
@@ -10,8 +10,8 @@ use hashbrown::HashMap;
|
||||
use super::common::CodeNotFound;
|
||||
use super::{FSResult, Loaded, VirtFS};
|
||||
use crate::intern::{intern, Token};
|
||||
use crate::proj_error::{ErrorSansOrigin, ErrorSansOriginObj};
|
||||
use crate::name::PathSlice;
|
||||
use crate::proj_error::{ErrorSansOrigin, ErrorSansOriginObj};
|
||||
|
||||
#[derive(Clone)]
|
||||
struct OpenError {
|
||||
|
||||
@@ -6,9 +6,9 @@ use rust_embed::RustEmbed;
|
||||
use super::common::CodeNotFound;
|
||||
use super::{FSResult, Loaded, VirtFS};
|
||||
use crate::intern::{intern, Token};
|
||||
use crate::proj_error::ErrorSansOrigin;
|
||||
use crate::location::CodeGenInfo;
|
||||
use crate::name::PathSlice;
|
||||
use crate::proj_error::ErrorSansOrigin;
|
||||
use crate::tree::{ModEntry, ModMember, Module};
|
||||
|
||||
/// An in-memory FS tree for libraries managed internally by the interpreter
|
||||
|
||||
Reference in New Issue
Block a user