본문으로 건너뛰기
토파즈6.0 · 출시 전
다운로드 →

문서 검색

명세 6.0

방향키로 결과를 고르고 Enter를 눌러 여세요.

API 이름, 진단 번호, 규칙 또는 프로젝트 주제를 입력하세요.

    진단 TPZ4008

    A host input failure produces TPZ4008 at the readStdin call.

    Diagnostic and cause

    링크

    Host input failure

    계열
    topaz
    단계
    run
    코드
    TPZ4008
    연산
    std.io.readStdin

    원인과 조건

    readStdin reads the remaining standard input bytes through EOF. UTF-8 validity and text preservation follow UTF-8 decoding. It does not append or remove a newline.

    No remaining bytes produces an empty string. A later call reads from the stream position left by the earlier call and therefore returns an empty string at EOF. A terminal follows the same EOF rule as redirected input.

    The call may wait for input or EOF. Reading consumes input even when the result is later discarded. A host read failure or invalid UTF-8 produces a structured runtime fault at the readStdin call because the function returns a string rather than a Result.

    The Topaz 6.0 host input fault is TPZ4008. Its primary location is the readStdin call.

    대응

    Provide valid UTF-8 through a readable input stream. Keep input recovery in the embedding host until structured fault production is available.

    Topaz 6.0.0 specifies this diagnostic during runtime.

    The product message wording awaits owner approval.

    The pinned SELF source does not emit this diagnostic.

    A failed host read or invalid UTF-8 produces a structured runtime fault at the readStdin call. The input operation consumes host bytes and validates their text encoding. The standard input contract defines consumption and valid text preservation.

    Response

    링크

    Provide valid UTF-8 through a readable input stream. Keep input recovery in the embedding host until structured fault production is available.

    Reproduction and verification

    링크

    메뉴

    다운로드 →