diff --git a/compiler/testData/checkerWithErrorTypes/quick/LValueAssignment.jet b/compiler/testData/checkerWithErrorTypes/quick/LValueAssignment.jet index a5e989ec001..6a34ccb49fb 100644 --- a/compiler/testData/checkerWithErrorTypes/quick/LValueAssignment.jet +++ b/compiler/testData/checkerWithErrorTypes/quick/LValueAssignment.jet @@ -17,7 +17,7 @@ class C() : B() { getInt() = 12 } - fun foo(c: C) { + fun bar(c: C) { this = c //should be an error } }