summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_text_editor.cpp
diff options
context:
space:
mode:
authorMario Liebisch <mario.liebisch@gmail.com>2023-09-25 21:08:36 +0200
committerMario Liebisch <mario.liebisch@gmail.com>2023-09-25 21:17:20 +0200
commit426e18fd37f0eedf4cbb39f3dad4e8fad39ebebb (patch)
treedae2a5f04e61f6745c81a553dbb35840a6e0eac8 /editor/plugins/script_text_editor.cpp
parentfcbc50ec144df458aee75db94cdbf6396bd408ed (diff)
downloadredot-engine-426e18fd37f0eedf4cbb39f3dad4e8fad39ebebb.tar.gz
Updated compiler version detection
This fixes multiple issues/inconsistencies around `get_compiler_version()`: * With no shell allocated, launching the compiler could fail even with proper paths being set. * The return value was described as "an array of version numbers as ints", but the function actually returned a `Dictionary` (or `None`). * Not all calls were properly handling a `None` return value in case of errors. On Windows this broke compiling for me since #81869 with default settings. * Some calls defined inconsistent defaults/fallbacks (`0` or `-1`).
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
0 files changed, 0 insertions, 0 deletions