다음 메시지를 보냈습니다:
While it's not querying it from the type itself, one thing that you could use is these queries from the Types module:
- https://chapel-lang.org/docs/latest/modules/standard/Types.html#Types.isOwnedClass
- https://chapel-lang.org/docs/latest/modules/standard/Types.html#Types.isSharedClass
- https://chapel-lang.org/docs/latest/modules/standard/Types.html#Types.isUnmanagedClass
- https://chapel-lang.org/docs/latest/modules/standard/Types.html#Types.isBorrowedClass
which I believe will allow you to pass either `from` itself or `fromType` and get a `bool` result. You could then use that to explicitly set the matching memory management in the new declaration (probably by taking advantage of split initialization so that `tmp` can live outside of the `if` statement making these checks
Hope that helps,
Lydia
하지만 자동으로 잘려서 다음과 같이 되었습니다:
While it's not querying it from the type itself, one thing that you
could use is these queries from the Types module:
목록의 시작 부분이 잘림을 유발한 것 같습니다. 최근 이러한 종류의 보고를 확인하지 못했는데(2015년에 두 개의 -가 서명으로 해석된다는 보고가 있었지만, 제가 쓴 내용은 그와 달랐고 해당 문제는 해결된 것으로 보였습니다).
최근에 이런 변경 사항이 있었나요? 이 동작을 피하기 위해 설정에서 조정해야 할 항목이 있나요?
감사합니다,
Lydia