Skip to content

String >> format: is brittle with using #value and not is sync with Text >> format. #135

@marceltaeumel

Description

@marceltaeumel

The last change from 7/13/2022 21:01 to String >> format: forgot to bring Text >> format: in sync.

And the support of blocks is unnecessary given that clients can easily put a value behind the respective argument if necessary. It is even dangerous because value is quite polymorphic in objects that are not values. At least, check for isBlock explicitely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    base system[SCOPE] Squeak's basic (language) concerns such as Kernel, Collections, Graphics, Networkbug[WHAT] Something isn't working as expected. Automated tests beneficial. :-

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions