Browse Source

add runJsDemo

runtime_measurements
Oleksandr Karpovich 3 years ago
parent
commit
5b0dc0816d
  1. 4
      compose/build.gradle.kts
  2. 2
      compose/frameworks/support
  3. 41
      compose/koltin_patch_for_master
  4. 10
      compose/scripts/runJsDemo

4
compose/build.gradle.kts

@ -103,6 +103,10 @@ tasks.register("publishComposeJbExtendedIconsToMavenLocal", ComposePublishingTas
iconsPublications()
}
tasks.register("runJsDemo") {
dependsOnComposeTask(":compose:mpp:demo:jsRun")
}
tasks.register("testComposeJbDesktop") {
dependsOnComposeTask(":compose:desktop:desktop:jvmTest")
dependsOnComposeTask(":compose:animation:animation:desktopTest")

2
compose/frameworks/support

@ -1 +1 @@
Subproject commit 0fdae2733bcd75f648c0c64daf2052ea9a0fb5de
Subproject commit 762544b71395695f7c8d05959cd0fd06308fbcdf

41
compose/koltin_patch_for_master

@ -0,0 +1,41 @@
Index: compiler/frontend/src/org/jetbrains/kotlin/resolve/checkers/ExperimentalMarkerDeclarationAnnotationChecker.kt
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/checkers/ExperimentalMarkerDeclarationAnnotationChecker.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/checkers/ExperimentalMarkerDeclarationAnnotationChecker.kt
--- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/checkers/ExperimentalMarkerDeclarationAnnotationChecker.kt (revision e55f7459f46ba98334ec92410afb12271e6430bb)
+++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/checkers/ExperimentalMarkerDeclarationAnnotationChecker.kt (date 1643374927818)
@@ -65,7 +65,7 @@
if (PROPERTY_GETTER in possibleTargets ||
annotationUseSiteTarget == AnnotationUseSiteTarget.PROPERTY_GETTER
) {
- trace.report(Errors.OPT_IN_MARKER_ON_WRONG_TARGET.on(entry, "getter"))
+// trace.report(Errors.OPT_IN_MARKER_ON_WRONG_TARGET.on(entry, "getter"))
}
if (VALUE_PARAMETER in possibleTargets && annotationUseSiteTarget == null ||
annotationUseSiteTarget == AnnotationUseSiteTarget.RECEIVER ||
Index: compiler/frontend/src/org/jetbrains/kotlin/extensions/internal/NonStableExtensionPoints.kt
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/compiler/frontend/src/org/jetbrains/kotlin/extensions/internal/NonStableExtensionPoints.kt b/compiler/frontend/src/org/jetbrains/kotlin/extensions/internal/NonStableExtensionPoints.kt
--- a/compiler/frontend/src/org/jetbrains/kotlin/extensions/internal/NonStableExtensionPoints.kt (revision e55f7459f46ba98334ec92410afb12271e6430bb)
+++ b/compiler/frontend/src/org/jetbrains/kotlin/extensions/internal/NonStableExtensionPoints.kt (date 1643374927839)
@@ -36,7 +36,7 @@
*/
@RequiresOptIn(level = RequiresOptIn.Level.ERROR)
@Retention(AnnotationRetention.BINARY)
-internal annotation class InternalNonStableExtensionPoints
+annotation class InternalNonStableExtensionPoints
@InternalNonStableExtensionPoints
interface TypeResolutionInterceptorExtension {
@@ -141,4 +141,4 @@
name: Name,
location: LookupLocation
): Collection<FunctionDescriptor> = candidates
-}
\ No newline at end of file
+}

10
compose/scripts/runJsDemo

@ -0,0 +1,10 @@
#!/bin/bash
cd "$(dirname "$0")"
. ./prepare
pushd ..
./gradlew runJsDemo $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd
Loading…
Cancel
Save