diff --git a/core/src/main/java/org/lflang/validation/LFValidator.java b/core/src/main/java/org/lflang/validation/LFValidator.java index 4b81555710..def6bcc8de 100644 --- a/core/src/main/java/org/lflang/validation/LFValidator.java +++ b/core/src/main/java/org/lflang/validation/LFValidator.java @@ -1074,7 +1074,8 @@ public void checkTargetDecl(TargetDecl target) throws IOException { @Check(CheckType.NORMAL) public void checkTargetProperties(KeyValuePairs targetProperties) { if (targetProperties.eContainer() instanceof TargetDecl) { - // Skip dictionaries that may be part of a target property value because type checking is done recursively. + // Skip dictionaries that may be part of a target property value because type checking is done + // recursively. new TargetConfig(this.target).validate(targetProperties, this.info.model, getErrorReporter()); } } diff --git a/test/Rust/src/target/BuildProfileRelease.lf b/test/Rust/src/target/BuildProfileRelease.lf index 0d9b607270..da19c0bc79 100644 --- a/test/Rust/src/target/BuildProfileRelease.lf +++ b/test/Rust/src/target/BuildProfileRelease.lf @@ -1,13 +1,12 @@ // Tests that the we can enable the release profile A proxy for checking this is to check that debug // assertions are disabled. target Rust { - build-type: "Release" - } - - main reactor { - reaction(startup) {= - assert!(!cfg!(debug_assertions), "debug assertions should be disabled"); - println!("success"); - =} - } - \ No newline at end of file + build-type: "Release" +} + +main reactor { + reaction(startup) {= + assert!(!cfg!(debug_assertions), "debug assertions should be disabled"); + println!("success"); + =} +}