Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

SLType.cs Not Checking For Null AssociatedTypePath #689

@tj-devel709

Description

@tj-devel709

This PR introduced this change:

var name = IsMetatype ? (Name + ".Type") : AssociatedTypePath.Any () ? Name + $".{AssociatedTypePath.FirstOrDefault ()}" : Name;

which does not check if AssociatedTypePath is null.
This is causing some tests to fail including tests inside SwiftReflector.GenericStructTests.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions