jdemeulenaere
10/03/2019, 12:10 PMdoSomething(s: String) we know that when calling this function the expected value inside the () should be a string. Is there anything in kotlin-compiler that already does all of this kind of logic and returns a KotlinType ?Imran/Malic
10/03/2019, 12:16 PMImran/Malic
10/03/2019, 12:17 PMjdemeulenaere
10/03/2019, 12:24 PMdoSomething(|) (where | represents the cursor) then I need to know that in the given context we expect the user to type a string, i.e. I am trying to build a function fun getExpectedType(file: KtFile, cursorOffset: Int): KotlinType?raulraja
10/03/2019, 1:29 PMraulraja
10/03/2019, 1:29 PMraulraja
10/03/2019, 1:30 PMraulraja
10/03/2019, 1:30 PMraulraja
10/03/2019, 1:32 PMraulraja
10/03/2019, 1:34 PMraulraja
10/03/2019, 1:36 PMraulraja
10/03/2019, 1:38 PMImran/Malic
10/03/2019, 1:41 PMMerlinTHS
03/13/2023, 1:56 PMSyntheticScopeProviderExtension?raulraja
03/13/2023, 6:58 PM