From 36e4df71b5d7eb3b6dd34a1ad55b0db4824e1b36 Mon Sep 17 00:00:00 2001 From: Ethan Nicholas Date: Sun, 29 Aug 2021 15:03:44 -0400 Subject: [PATCH] Fixed a function name in MismatchedNumbers.sksl DSLParser caught a duplicate function name in here that SkSLParser wasn't reporting. Change-Id: I428c7ec64d1b625d9d12c6b7acdb23b52a0d7b89 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/443241 Reviewed-by: John Stiles Commit-Queue: Ethan Nicholas --- resources/sksl/errors/MismatchedNumbers.sksl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/sksl/errors/MismatchedNumbers.sksl b/resources/sksl/errors/MismatchedNumbers.sksl index 8a84e68be9..9d2e42476d 100644 --- a/resources/sksl/errors/MismatchedNumbers.sksl +++ b/resources/sksl/errors/MismatchedNumbers.sksl @@ -30,7 +30,7 @@ void u_eq_float_literal_disallowed() { u = 1.0; } void i_eq_u_disallowed() { i = u; } void i_eq_f_disallowed() { i = f; } float f_eq_i_disallowed() { f = i; } -float f_eq_i_disallowed() { f = u; } +float f_eq_u_disallowed() { f = u; } void u_eq_i_disallowed() { u = i; } void u_eq_f_disallowed() { u = f; } void i_plus_float_literal_disallowed() { i + 1.0; }