emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/julia-mode bfa6d83 103/352: major update to modules:


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode bfa6d83 103/352: major update to modules:
Date: Sun, 29 Aug 2021 11:22:23 -0400 (EDT)

branch: elpa/julia-mode
commit bfa6d837b142ca67dc220249eae4c9b55ce2c5b8
Author: Jeff Bezanson <jeff.bezanson@gmail.com>
Commit: Yichao Yu <yyc1992@gmail.com>

    major update to modules:
    
    replace "import M.*" with "using M".
    
    import paths are relative to the current module, and search in parent 
modules
    as necessary.
    
    we are now stricter about name conflicts: once use of a name in a module is
    resolved, the binding it refers to cannot change. currently the messages are
    warnings, but can be changed to errors trivially.
    
    exporting a name is not sufficient to "resolve" it.
    
    fixes the following issues:
    
    status:
    base/ has been ported, sysimg builds, a few tests pass.
    extras/ not yet touched.
    a few more imports are probably needed in Base to handle methods added by
    submodules.
---
 julia-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/julia-mode.el b/julia-mode.el
index 83a1840..320ed06 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -68,8 +68,8 @@
           'identity
           '("if" "else" "elseif" "while" "for" "begin" "end" "quote"
             "try" "catch" "return" "local" "abstract" "function" "macro" 
"ccall"
-           "typealias" "break" "continue" "type" "global" "@\\w+"
-           "module" "import" "export" "const" "let" "bitstype" "do")
+           "finally" "typealias" "break" "continue" "type" "global" "@\\w+"
+           "module" "using" "import" "export" "const" "let" "bitstype" "do")
           "\\|") "\\)\\>")
      'font-lock-keyword-face)
     
'("\\<\\(true\\|false\\|C_NULL\\|Inf\\|NaN\\|Inf32\\|NaN32\\|nothing\\)\\>" . 
font-lock-constant-face)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]