Repository navigation
v1.1.7
Official 1.1.7 Release: Empty-Parentheses Variables, Workspace Module Isolation & UI Status, GitHub Issues (#3, #4, #7, #8, #9) & Unified Feature Parity Harness
- Empty-Parentheses Variable Declarations (
Type var();) (SymbolCollector.cpp,LocalScopeCollector.cpp,SemanticTokensHandler.cpp):- Supported empty-parentheses variable declarations initialized via default constructor across class members (
class Logger { ASErrorLogger error(); }), global variables, namespace variables, and local variables in function bodies (void main() { A a(); }). - Disambiguated
gs.symFunctionDeclarationnodes without bodies in AST traversal, registering them asSymbolType::VariablewithVariableSignaturerather than phantom function prototypes. - Corrected semantic tokens classification to highlight empty-parentheses declarations as variables/properties instead of functions.
- Supported empty-parentheses variable declarations initialized via default constructor across class members (
- Workspace Module Isolation & Interactive Module UI (
ServerAnalysis.cpp,ServerModules.cpp,WorkspaceHandlers.cpp,extension.ts):- When
angelscript.modulesis configured, semantic analysis and diagnostic publication are strictly restricted to scripts within the active module's#includeclosure. - Automatically suppresses diagnostics for scripts outside the active module partition and withdraws stale diagnostics upon configuration updates or active module switches via
WithdrawStaleModuleDiagnostics. - Added an interactive VS Code Status Bar Item and
LanguageStatusItemshowing the active module with QuickPick menu support for switching active modules, selecting "All Modules / Workspace", or triggering a manual workspace rescan. - 100% synchronized bilingual localization strings across English (
bundle.l10n.json) and Spanish (bundle.l10n.es.json).
- When
- GitHub Issue #3 Resolution: Private & Protected Member Autocompletion Filtering (
CompletionHandler.cpp):- Enforced strict member visibility checking in
IsMemberAccessibleForCompletion: private members are suggested only when the cursor resides within the exact defining class (or applied mixin). - Protected members are filtered out for external callers and free functions like
main(), only appearing when the calling context inherits from the defining class (IsDerivedFrom).
- Enforced strict member visibility checking in
- GitHub Issue #4 Resolution: Initializer List
{ ... }Overload Ambiguity (E118) (CallChecker.cpp,ConversionRankingEngine.cpp):- Ranked initializer list arguments (
gs.symInitializerListor"init_list") equally across competing list-constructible parameter overloads (e.g.arrayvsdictionary). - Correctly emits
as-err-call-ambiguous(E118) in parity with nativeangelscript_oracle.exe.
- Ranked initializer list arguments (
- GitHub Issue #7 Resolution: Const Handle Assignment Diagnostics, Quick Fix &
nullonA&in(TypeConversionChecker.cpp,CodeActionConstQualifier.cpp,CallChecker.cpp):- Detected and diagnosed implicit conversions from
const A@to mutableA@across variable initializers, assignment expressions, and function call returns withas-err-no-implicit-conversion. - Added an automated Quick Fix code action ("Add 'const' qualifier" / "Añadir calificador 'const'") via
CodeActionConstQualifier.cpp. - Fixed passing
<null handle>to non-handle value references (A&in), emittingas-err-call-no-matching-signature(E119) with compiler parity.
- Detected and diagnosed implicit conversions from
- GitHub Issues #8 & #9 Resolution: Mixin Private Access (E113) & Overridden Virtual Properties (E230) (
AccessChecker.cpp,TypeConversionChecker.cpp,LValueChecker.cpp):- Enabled unrestricted access to private members declared in
mixin class Aviathis.insideAwithout emitting falseas-err-private-member-access(E113). - Resolved virtual property setters (
set_b) through inheritance hierarchy traversal when a derived class overrides onlyget_b(), allowing property assignmentthis.b = false;.
- Enabled unrestricted access to private members declared in
- Unified Feature Parity & Telemetry Harness (
UnifiedFeatureAuditHarness.h/.cpp,GitHubIssuesOracleParityTest.cpp,EmptyParenAndTelemetryParityTest.cpp):- Created a unified audit harness providing automated 3-way verification (Good, Bad, Boundary paths) with randomized symbol generation (
GenerateRandomSymbolName()). - Implemented strict performance and latency telemetry assertions: Hover
$\le 1.0\text{ ms}$ , Completion$\le 5.0\text{ ms}$ , Definition/References$\le 5.0\text{ ms}$ , Code Actions$\le 5.0\text{ ms}$ , Semantic Tokens$\le 20.0\text{ ms}$ , Module Analysis$\le 100\text{ ms}$ .
- Created a unified audit harness providing automated 3-way verification (Good, Bad, Boundary paths) with randomized symbol generation (
- Verification & Test Coverage:
- 100% of 2,608 CTest test cases passing in Release mode under
/W4 /WX /we4100 /permissive-. - 12/12 active static quality gates passing with 0 warnings (
check-quality.py). - 74/74 VS Code client extension integration tests passing.
- 100% of 2,608 CTest test cases passing in Release mode under
Full Changelog: v1.1.6...v1.1.7