title: Couldn't inline method call 'Column' into local final fun <anonymous>() in Jetpack compose
body: <p>I was starting a simple base project in jetpack compose using <strong>Android studio 2020.3.1 Canary 15</strong>. I followed this guide <a href="https://developer.android.com/jetpack/compose/setup" rel="noreferrer">https://developer.android.com/jetpack/compose/setup</a> &amp; added needed dependencies also I updated them to latest <code>beta06</code> because it was showing a warning.</p>
  <p>Now, I have following error when I run:</p>
  <pre><code>org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't inline method call 'Column' into
  local final fun &lt;anonymous&gt;(): kotlin.Unit defined in &lt;packagename&gt;.onCreate
  {
              Column(
                  modifier = Modifier.fillMaxSize(),
                  verticalArrangement = Arrangement.Center,
                  horizontalAlignment = Alignment.CenterHorizontally
              ) {
  
              }
          }
  Cause: Not generated
  </code></pre>
  <p>My project level <code>build.gradle</code></p>
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  buildscript {
      repositories {
          google()
          mavenCentral()
      }
      dependencies {
          classpath &quot;com.android.tools.build:gradle:7.0.0-alpha15&quot;
          classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32&quot;
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  <p>My app level <code>build.gradle</code></p>
  <pre><code>plugins {
      id 'com.android.application'
      id 'kotlin-android'
  }
  
  android {
      compileSdk 30
      buildToolsVersion &quot;30.0.3&quot;
  
      defaultConfig {
          applicationId &quot;com.&lt;packagename&gt;&quot;
          minSdk 21
          targetSdk 30
          versionCode 1
          versionName &quot;1.0&quot;
  
          testInstrumentationRunner &quot;androidx.test.runner.AndroidJUnitRunner&quot;
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
      compileOptions {
          sourceCompatibility JavaVersion.VERSION_1_8
          targetCompatibility JavaVersion.VERSION_1_8
      }
      kotlinOptions {
          jvmTarget = '1.8'
      }
  
      composeOptions {
          kotlinCompilerExtensionVersion &quot;1.0.0-beta06&quot;
      }
  }
  
  tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
      kotlinOptions {
          jvmTarget = &quot;1.8&quot;
      }
  }
  
  dependencies {
  
      implementation 'androidx.core:core-ktx:1.3.2'
      implementation 'androidx.appcompat:appcompat:1.2.0'
      implementation 'com.google.android.material:material:1.3.0'
      implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
      testImplementation 'junit:junit:4.+'
      androidTestImplementation 'androidx.test.ext:junit:1.1.2'
      androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  
      implementation 'androidx.compose.ui:ui:1.0.0-beta06'
      // Tooling support (Previews, etc.)
      implementation 'androidx.compose.ui:ui-tooling:1.0.0-beta06'
      // Foundation (Border, Background, Box, Image, Scroll, shapes, animations, etc.)
      implementation 'androidx.compose.foundation:foundation:1.0.0-beta06'
      // Material Design
      implementation 'androidx.compose.material:material:1.0.0-beta06'
      // Material design icons
      implementation 'androidx.compose.material:material-icons-core:1.0.0-beta06'
      implementation 'androidx.compose.material:material-icons-extended:1.0.0-beta06'
      // Integration with activities
      implementation 'androidx.activity:activity-compose:1.3.0-alpha07'
      // Integration with ViewModels
      implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha04'
      // Integration with observables
      implementation 'androidx.compose.runtime:runtime-livedata:1.0.0-beta06'
      implementation 'androidx.compose.runtime:runtime-rxjava2:1.0.0-beta06'
  }
  </code></pre>
  <p>My <code>MainActivity</code> code where error is occuring:</p>
  <pre><code>import androidx.appcompat.app.AppCompatActivity
  import android.os.Bundle
  import androidx.activity.compose.setContent
  import androidx.compose.foundation.layout.Arrangement
  import androidx.compose.foundation.layout.Column
  import androidx.compose.foundation.layout.fillMaxSize
  import androidx.compose.material.CircularProgressIndicator
  import androidx.compose.material.Text
  import androidx.compose.ui.Alignment
  import androidx.compose.ui.Modifier
  
  class MainActivity : AppCompatActivity() {
  
      override fun onCreate(savedInstanceState: Bundle?) {
          super.onCreate(savedInstanceState)
  
          setContent {
              Column(
                  modifier = Modifier.fillMaxSize(),
                  verticalArrangement = Arrangement.Center,
                  horizontalAlignment = Alignment.CenterHorizontally
              ) {
  
              }
          }
      }
  }
  </code></pre>
  <p>I have already tried this: <a href="https://stackoverflow.com/questions/65462221/java-lang-assertionerror-call-public-final-fun-get-currentcomposer">java.lang.AssertionError: CALL &#39;public final fun &lt;get-currentComposer&gt;</a></p>
  <p>Also such other answers but none work for me.</p>
  <p>Any help is much appreciated. Thanks.</p>