Error Message Include File Name (#70) and Minor Fix #154

Closed
ychenfo wants to merge 19 commits from ast_filename_location into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d867230c21 - Show all commits

View File

@ -98,7 +98,7 @@ pub fn parse_ast_to_type_annotation_kinds<T>(
)) ))
} }
} else { } else {
Err(format!("name cannot be parsed as a type annotation at {}", expr.location)) Err(format!("unknown type annotation at {}", expr.location))
} }
}; };