In the following example, this error occurs for M1.
method-id main static. declare o1 as object = "Hello" invoke M1(reference o1 as string) *> This line must change display o1 end method.