From 4a980f19611aa95fde1d6bbea8b70874cc3776d9 Mon Sep 17 00:00:00 2001 From: Heshan Padmasiri Date: Tue, 15 Oct 2024 11:34:52 +0530 Subject: [PATCH] Update examples/error-type-intersection/error_type_intersection.bal Co-authored-by: Maryam Ziyad --- examples/error-type-intersection/error_type_intersection.bal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/error-type-intersection/error_type_intersection.bal b/examples/error-type-intersection/error_type_intersection.bal index 87edf2d606..28733a1fd2 100644 --- a/examples/error-type-intersection/error_type_intersection.bal +++ b/examples/error-type-intersection/error_type_intersection.bal @@ -34,6 +34,6 @@ public function main() { // `e2` belongs to `InputError` since its detail type is a subtype of `InputErrorDetail`. io:println(e2 is InputError); - // `e2` belongs to `DistinctInputError` since its type ID set include the type id of `DistinctInputError`. + // `e2` belongs to `DistinctInputError` since its type ID set includes the type id of `DistinctInputError`. io:println(e2 is DistinctInputError); }