Eiffel:呼叫使用过时的功能。调用功能“to_string_8”:改用“name_32”

Eiffel: Call use obsolete feature. Call to feature `to_string_8': Use `name_32' instead

我有一个警告我无法摆脱也不明白:

Eiffel: Call use obsolete feature. Call to feature `to_string_8': Use 'name_32' instead

item_prototype 是 DB_SERVICE 我重新定义 out

if attached {APP_CONFIGURATION}.application_instance.selected_entity_primary_key ({SIT_UTIL}.class_name_lowercase ({like item_prototype})) as l_pk then

还有一点是我无法将警告消息复制到我的剪贴板,我该怎么做?如果有进入 EiffelStudio 的方法。

看起来功能 {SIT_UTIL}.class_name_lowercase 采用类型 STRING 的参数,但当前代码提供类型 TYPE [...]{like item_prototype} 的类型。 class TYPE 中有转换功能 to_string_8,但它已过时,这就是您收到警告的原因。

必须更改特征 class_name_lowercase 的签名以接受 TYPE 而不是 STRING,或者参数应采用 ({like item_prototype}).name_32.as_string_8 形式。

为了支持 Unicode 标识符,最好还是更改 class_name_lowercase 的签名,使其接受 STRING_32,并传递 ({like item_prototype}).name_32