TS8073
프런트엔드 코드 REFERENCE
아직 지원하지 않는 참조 형태입니다(규칙 8.8, 변경 0142). 객체 매개변수는 표시 없이도 호출자의 객체이므로 없앤 @inout과 @out, 이름이 있는 객체를 돌려줄 수 있는 호출이 그렇습니다. 메시지가 고칠 방법을 알려 줍니다.
레지스트리에는 이 상수에 대한 문서 주석이 없습니다. 그래서 위 설명은 컴파일러가 이 코드와 함께 내는 메시지를 보고 이 사이트가 쓴 것입니다.
이 커밋에는 아직 이 코드의 예제가 없습니다.
레지스트리 설명과 컴파일러 메시지는 컴파일러 원문이라 한국어 페이지에서도 영어로 둡니다.
이 코드가 적용하는 규칙
- 규칙 6.7 테스트
- The attribute names the compiler reads are
vertex,fragment,compute,workgroup_size,builtin,location,interpolate,invariantandblend_src(the last three since #168, surface §53). - 규칙 8.25 테스트
- An object parameter that its function writes is the caller’s object, and the call passes the variable itself, unmarked: reading the parameter reads that object, and assigning to a field or an element of it writes it, for the call (change 0142).
함께 보기
소스
커밋 af54ddad5에서 컴파일러가 이 코드를 내는 곳입니다. 파일마다 한 줄씩 적었습니다.