Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(GenTs): don't output readonly class types, private fields don't work
  • Loading branch information
jedwards1211 committed Oct 23, 2020
1 parent bb50544 commit d9209cc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions GenTs.cs
Expand Up @@ -153,13 +153,6 @@ void Write(CiType type, bool forConst = false)
Write("[]");
}
break;
case CiClassPtrType klass:
if (klass.IsReadonlyPtr)
Write("Readonly<");
Write(type.Name);
if (klass.IsReadonlyPtr)
Write('>');
break;
default:
Write(type.Name);
break;
Expand Down

0 comments on commit d9209cc

Please sign in to comment.