Skip to content

Commit

Permalink
Merge pull request #3400 from beutlich/fix-typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
HansOlsson committed Aug 8, 2023
2 parents 91a64b5 + a0ac647 commit 07ccecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/inheritance.tex
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ \subsection{Final Element Modification Prevention}\label{final-element-modificat
extends MyTF; // fine
Real foo = 1.0;
end TFX;
TFX tfx(foo = 2.0); // fine, foo is not from MyRF
TFX tfx(foo = 2.0); // fine, foo is not from MyTF
TFX tfx2(a = {1, 3}); // error, all elements from MyTF are final
model TFX3 = TFX(a = {1, 4}); // error, all elements from MyTF are final
end Test2;
Expand Down

0 comments on commit 07ccecd

Please sign in to comment.