summaryrefslogtreecommitdiff
path: root/plugins/kotlin/jps/jps-plugin/tests/testData/incremental/multiModule/multiplatform/custom/commonSourcesCompilerArg/build.log
blob: 86ce0e9baeba67888e97cba9269f7bd81883fbad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
================ Step #1 use @Optional in JS =================

Building c
Building pJs
Compiling files:
  pJs/src/c.kt
End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Declaration annotated with '@OptionalExpectation' can only be used in common module sources

================ Step #2 remove @Optional from JS =================

Building c
Building pJs
Exit code: NOTHING_DONE
------------------------------------------
Building pJvm
Exit code: NOTHING_DONE
------------------------------------------

================ Step #3 use @Optional in JVM =================

Building c
Building pJs
Exit code: NOTHING_DONE
------------------------------------------
Building pJvm
Compiling files:
  pJvm/src/c.kt
End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Declaration annotated with '@OptionalExpectation' can only be used in common module sources

================ Step #4 remove @Optional from JVM =================

Building c
Building pJs
Exit code: NOTHING_DONE
------------------------------------------
Building pJvm
Exit code: NOTHING_DONE
------------------------------------------

================ Step #5 add another @Optional in Common module =================

Building c
Building pJs
Compiling files:
  c/src/b.kt
End of files
Exit code: OK
------------------------------------------
Building pJvm
Compiling files:
  c/src/b.kt
End of files
Exit code: OK
------------------------------------------