fixed typos, added typos checking to CI

This commit is contained in:
Anton-4 2021-06-05 20:02:54 +02:00
parent 960a4fddc5
commit 314503cf7f
43 changed files with 114 additions and 101 deletions

View file

@ -13,7 +13,7 @@ use roc_types::types::Type::{self, *};
#[inline(always)]
pub fn int_literal(
num_var: Variable,
percision_var: Variable,
precision_var: Variable,
expected: Expected<Type>,
region: Region,
) -> Constraint {
@ -25,7 +25,7 @@ pub fn int_literal(
And(vec![
Eq(
num_type.clone(),
ForReason(reason, num_int(Type::Variable(percision_var)), region),
ForReason(reason, num_int(Type::Variable(precision_var)), region),
Category::Int,
region,
),