• HiddenLayer555
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 day ago

    The complete lack of error reporting in the compiler is a surprise though.

    • AdamBomb@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      True, that is surprising and makes everything worse. It’s probably controlled by a setting that none of those engineers knows how to change, based on the lack of knowledge described here.

      • HiddenLayer555
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 day ago

        My guess is that a stack trace is being generated, but something further down the chain is consuming it, realizes there’s an error, and just throws -1 instead of the stack trace itself.

        Something like

        try {
            compileThisDamnProgram()
        } catch Exception {
            return -1
        }