Skip to content

Wrong line numbers of errors in typescript files #2098

@vladtepesch

Description

@vladtepesch

Bitburner Version 2.8.1

The bitburner in-game script error messages shows from line numbers for ts-files.
Please note the differences of the intern message and the debug console error message:
(line 6 vs line 30)

Image

for example with this simple test script:

// import { NS } from "NetscriptDefinitions";

import{
  

}from "utils2"


function test():void{


  
}



export async function main(ns:NS) {










  let t:string = undefined;

  let l = t.length;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions