Pipes refactoring, Fixes in type checker

This commit is contained in:
Michael Schimmel
2026-02-13 23:34:39 +01:00
parent 19cdb2f004
commit dc46a2dd2d
10 changed files with 341 additions and 285 deletions
+1 -2
View File
@@ -84,7 +84,6 @@ begin
// Für den Compiler ist es eine RecordSeries (Typ), zur Laufzeit ein Stream (Wert)
StaticType := TTypes.CreateRecordSeries(Def);
// UPDATED: Dokumentation für die Stream-Variable hinzufügen
Scope.Define(VarName, Stream, StaticType, 'Financial OHLC Data Stream (Time, Open, High, Low, Close, Vol).');
end;
@@ -118,7 +117,7 @@ begin
raise Exception.CreateFmt('Variable "%s" is a Stream, but not a TRootStream (cannot push manually).', [VarName]);
Stream := TRootStream(Val.AsStream);
Def := Stream.Series.Def;
Def := Stream.Def;
// --- Simulation ---
FLastTime := IncMinute(FLastTime, 5);