Merge pull request #4505 from roc-lang/fix-web-repl-palette

Fix web REPL error formatting by routing the active Palette everywhere
This commit is contained in:
Folkert de Vries 2022-11-15 15:49:37 +01:00 committed by GitHub
commit de472015f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 61 additions and 15 deletions

View file

@ -458,6 +458,7 @@ pub fn load_modules_for_files(filenames: Vec<PathBuf>) -> Vec<LoadedModule> {
let load_config = LoadConfig {
target_info: roc_target::TargetInfo::default_x86_64(), // This is just type-checking for docs, so "target" doesn't matter
render: roc_reporting::report::RenderTarget::ColorTerminal,
palette: roc_reporting::report::DEFAULT_PALETTE,
threading: Threading::AllAvailable,
exec_mode: ExecutionMode::Check,
};