{"id":56612,"library":"scalac-compat-annotation-2-12","title":"Scalac Compat Annotation","description":"Provides annotations for cross-version Scala compiler compatibility, specifically for Scala 2.12.","status":"active","version":"0.1.4","language":"java","source_language":null,"source_url":"https://github.com/typelevel/scalac-compat","tags":["scala","compiler","compatibility","annotation"],"install":[{"cmd":"<dependency>\n  <groupId>org.typelevel</groupId>\n  <artifactId>scalac-compat-annotation_2.12</artifactId>\n  <version>0.1.4</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.typelevel:scalac-compat-annotation_2.12:0.1.4'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"annotation","correct":"scalac.compat.annotation"}],"quickstart":{"code":"import scalac.compat.annotation._\n\n@nowarn(\"cat=unused\") def foo = 42","lang":"scala","description":"Use annotations like @nowarn to suppress compiler warnings in a cross-version compatible way."},"warnings":[{"fix":"Ensure your project uses Scala 2.12 and the correct artifact version.","message":"This package is specific to Scala 2.12; using it with other Scala versions may cause compilation errors.","severity":"breaking","affected_versions":"all"}],"env_vars":null,"search_vec":"'2.12':16 'annot':3,5,20 'compat':2,12,19 'compil':11,18 'cross':8 'cross-vers':7 'provid':4 'scala':10,15,17 'scalac':1 'specif':13 'version':9","created_at":"2026-06-15T10:43:24.077205+00:00","updated_at":"2026-06-15T10:43:24.077205+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/typelevel/scalac-compat","github":"https://github.com/typelevel/scalac-compat","docs":"https://appdoc.app/artifact/org.typelevel/scalac-compat-annotation_2.12/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}