Skip to content

set-color method in message% signals internal error #307

Description

@rfindler

The program

#lang racket/gui
(send (new message% [parent (new frame% [label ""])] [label ""]) set-color "notacolor")

produces the error:

class-field-accessor: contract violation
  expected: object?
  given: #f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions