remove inlinable_string dependency

This commit is contained in:
Folkert 2021-08-03 21:24:19 +02:00
parent ceb5cc66fa
commit d4896d3ed2
21 changed files with 4 additions and 65 deletions

View file

@ -9,7 +9,6 @@ use crate::num::{
use crate::pattern::{canonicalize_pattern, Pattern};
use crate::procedure::References;
use crate::scope::Scope;
use inlinable_string::InlinableString;
use roc_collections::all::{ImSet, MutMap, MutSet, SendMap};
use roc_module::ident::{ForeignSymbol, Lowercase, TagName};
use roc_module::low_level::LowLevel;
@ -58,7 +57,7 @@ pub enum Expr {
// Int and Float store a variable to generate better error messages
Int(Variable, Variable, i128),
Float(Variable, Variable, f64),
Str(InlinableString),
Str(Box<str>),
List {
elem_var: Variable,
loc_elems: Vec<Located<Expr>>,
@ -1574,7 +1573,7 @@ pub fn is_valid_interpolation(expr: &ast::Expr<'_>) -> bool {
enum StrSegment {
Interpolation(Located<Expr>),
Plaintext(InlinableString),
Plaintext(Box<str>),
}
fn flatten_str_lines<'a>(