From 91e4188a64716b58ae5b91ef25a02b19e14385f2 Mon Sep 17 00:00:00 2001
From: Rocketjumper <112361665+RichardTjokroutomo@users.noreply.github.com>
Date: Tue, 30 Sep 2025 13:42:32 +0800
Subject: [PATCH] script: Add line number argument to module script compilation
functions (#39544)
Script: added ```line_no``` as argument to both
```fetch_inline_module_script()``` & ```compile_module_script()``` to
fix the inline script reporting wrong line issue
([#39415](https://github.com/servo/servo/issues/39415)).
Originally, the function ```compile_module_script()``` hardwires the
value 1 when invoking ```CompileOptionsWrapper::new()```. This is fine
if the script is written in separate JS file, but for inline scripts, it
will cause confusion if the ```
+
+
+