[前][次][番号順一覧][スレッド一覧]

ruby-changes:63106

From: Soutaro <ko1@a...>
Date: Fri, 25 Sep 2020 17:09:01 +0900 (JST)
Subject: [ruby-changes:63106] c5ea060ef8 (master): Update NEWS about RBS (#3579)

https://git.ruby-lang.org/ruby.git/commit/?id=c5ea060ef8

From c5ea060ef8cd6c0de9987d1a3546b79e99ebb35c Mon Sep 17 00:00:00 2001
From: Soutaro Matsumoto <matsumoto@s...>
Date: Fri, 25 Sep 2020 17:08:39 +0900
Subject: Update NEWS about RBS (#3579)


diff --git a/NEWS.md b/NEWS.md
index 73ba494..fb8602a 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -83,6 +83,8 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS.md#L83
 * Interpolated String literals are no longer frozen when
   `# frozen-string-literal: true` is used. [[Feature #17104]]
 
+* RBS is introduced. It is a type definition languaged for Ruby programs.
+
 ## Command line options
 
 ### `--help` option
@@ -390,6 +392,17 @@ Excluding feature bug fixes. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L392
 
 * Optimize C method call a little
 
+## RBS
+
+* RBS is a new language for type definition of Ruby programs.
+  It allows writing types of classes and modules with advanced
+  types including union types, overloading, generics, and 
+  _interface types_ for duck typing.
+
+* Ruby ships with type definitions for core/stdlib classes.
+
+* `rbs` gem is bundled to load and process RBS files.
+
 ## Miscellaneous changes
 
 * Methods using `ruby2_keywords` will no longer keep empty keyword
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]