---
title: "SD0043: TypeShade 컴파일러가 진단에 붙이는 오류 코드와 그 뜻, 고치는 법"
description: "SD0043, TypeShade 컴파일러의 오류 코드입니다. reserved fp64 name 이 페이지에는 레지스트리 원문과 컴파일러가 이 코드를 내는 곳, 고치는 법이 있습니다."
url: https://typeshade.dev/ko/reference/errors/sd0043/
language: ko
---

# `SD0043`

코어 코드

reserved fp64 name

레지스트리 설명과 컴파일러 메시지는 컴파일러 원문이라 한국어 페이지에서도 영어로 둡니다.

## 예제

example.shade.ts

```ts
"use typeshade"

class Uniforms {
  x: f64
}

declare const u: uniform<Uniforms>

class DF64Vec2 {
  a: f32
}

@fragment
export function main(uv: location<0, vec2>): vec4 {
  let d = new DF64Vec2()
  d.a = f32(u.x * u.x)
  return vec4(uv, d.a, 1.)
}
```

빌드할 때 고정된 컴파일러로 이 프로그램을 컴파일하면 다음 진단이 나옵니다.

**[TS8015](https://typeshade.dev/ko/reference/errors/ts8015/)** error, 1행: Backend emit failed: typeshade \[SD0043\]: reserved fp64 name — struct '`DF64Vec2`' hint: fp64Lower injects df64\_\* emulation fns and DF64VecN structs under those names — rename the colliding declaration

## 고치는 법

레지스트리의 힌트: fp64Lower injects df64\_\* emulation fns and DF64VecN structs under those names — rename the colliding declaration

같은 프로그램을 고친 모습입니다. 진단 없이 컴파일됩니다.

example.shade.ts

```ts
"use typeshade"

class Uniforms {
  x: f64
}

declare const u: uniform<Uniforms>

class Pair {
  a: f32
}

@fragment
export function main(uv: location<0, vec2>): vec4 {
  let d = new Pair()
  d.a = f32(u.x * u.x)
  return vec4(uv, d.a, 1.)
}
```

## 함께 보기

**[`TS8015`](https://typeshade.dev/ko/reference/errors/ts8015/) `BACKEND`**

프런트엔드가 받아들인 모듈을 백엔드가 출력하지 못하고 거부했습니다. 메시지는 백엔드가 쓴 그대로입니다.

- [배정밀도 에뮬레이션](https://typeshade.dev/ko/guide/language/from-typescript/double/)
- [`TypeShadeError`](https://typeshade.dev/ko/api/typeshadeerror/)
- [오류 코드](https://typeshade.dev/ko/reference/errors/)

## 소스

커밋 af54ddad5에서 컴파일러가 이 코드를 내는 곳입니다. 파일마다 한 줄씩 적었습니다.

- [`src/core/passes/fp64-lower.ts:116`](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/passes/fp64-lower.ts#L116) (2곳)
