darkf / darkfo

DarkFO, a post-nuclear RPG remake (of Fallout 2)
Apache License 2.0
135 stars 12 forks source link

tsc compile fails with "Unreachable code detected" error #98

Closed onurturgay closed 7 years ago

onurturgay commented 7 years ago

`..:darkfo postexitus$ tsc src/scripting.ts(198,5): error TS7027: Unreachable code detected. src/scripting.ts(202,6): error TS7027: Unreachable code detected. src/scripting.ts(208,6): error TS7027: Unreachable code detected. src/scripting.ts(219,5): error TS7027: Unreachable code detected. src/scripting.ts(225,5): error TS7027: Unreachable code detected.

..:darkfo postexitus$ tsc --version Version 2.2.1`

onurturgay commented 7 years ago

It actually still compiles; just warns. Nothing to see here.

darkf commented 7 years ago

Yeah, the only reason I keep it there is because it marks some unimplemented code. I should probably just comment it out or something, really.