Add test_compile crate

This commit is contained in:
Richard Feldman 2024-10-20 11:52:46 -04:00
parent 98535bfbce
commit 67bca80921
No known key found for this signature in database
GPG key ID: 5DE4EE30BB738EDF
9 changed files with 418 additions and 121 deletions

View file

@ -35,7 +35,7 @@ use roc_region::all::{Loc, Position, Region};
use crate::parser::Progress::{self, *};
fn expr_end<'a>() -> impl Parser<'a, (), EExpr<'a>> {
pub fn expr_end<'a>() -> impl Parser<'a, (), EExpr<'a>> {
|_arena, state: State<'a>, _min_indent: u32| {
if state.has_reached_end() {
Ok((NoProgress, (), state))